[Bug c++/19004] [3.4/4.0 regression] ICE in uses_template_parms at cp/pt.c:4860
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-12-16 14:55 -------
This should be ice-on-invalid-code. The code:
bar<evil>()();
must be replaced with:
bar<&Dummy::evil>()();
because 'evil' alone is not a valid pointer-to-member function.
GCC compiles file with the corrected code.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19004
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: