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++/13558] New: ICE (illegal code) at cp/friend.c:200


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


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