[Bug c++/29054] [4.0/4.1 Regression] ICE on friend template specialization

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 3 08:11:00 GMT 2007



------- Comment #8 from jakub at gcc dot gnu dot org  2007-01-03 08:11 -------
Subject: Bug 29054

Author: jakub
Date: Wed Jan  3 08:11:02 2007
New Revision: 120391

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120391
Log:
        PR c++/29054
        * decl.c (revert_static_member_fn): Don't remove first
        argument without checking it is "this".

        * g++.dg/template/friend49.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/friend49.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/decl.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29054



More information about the Gcc-bugs mailing list