[Bug c++/13558] New: ICE (illegal code) at cp/friend.c:200
pommier at gmm dot insa-tlse dot fr
gcc-bugzilla@gcc.gnu.org
Sat Jan 3 21:12:00 GMT 2004
the following code snippet:
class bar { friend class int; };
crashes g++ (GCC) 3.4.0 20031231:
foo.C:1: error: expected identifier
foo.C:1: internal compiler error: tree check: expected class 't', have 'd'
(type_decl) in make_friend_class, at cp/friend.c:200
I don't know if it is related to #3761 or not, so I submit it as a new bug report.
--
Summary: ICE (illegal code) at cp/friend.c:200
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pommier at gmm dot insa-tlse dot fr
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13558
More information about the Gcc-bugs
mailing list