This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29054] [4.0/4.1 Regression] ICE on friend template specialization
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2007 08:11:14 -0000
- Subject: [Bug c++/29054] [4.0/4.1 Regression] ICE on friend template specialization
- References: <bug-29054-12431@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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