[Bug c++/11344] New: templates + friend + name conflict = ICE
scott dot worley at chkno dot net
gcc-bugzilla@gcc.gnu.org
Fri Jun 27 09:06:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11344
Summary: templates + friend + name conflict = ICE
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scott dot worley at chkno dot net
CC: gcc-bugs at gcc dot gnu dot org
template <class Foo>
class bar {};
template <class Foo>
class baz {
int bar;
friend class bar;
};
Will cause ICE in pop_binding, at cp/decl.c:1187
Tested on 2.95.4, 2.96, and 3.2.2.
More information about the Gcc-bugs
mailing list