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++/29054] [4.0/4.1 Regression] ICE on friend template specialization



------- 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


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