This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13558] New: ICE (illegal code) at cp/friend.c:200
- From: "pommier at gmm dot insa-tlse dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2004 21:12:18 -0000
- Subject: [Bug c++/13558] New: ICE (illegal code) at cp/friend.c:200
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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