This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]