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++/14667] New: ICE in cp_parser_parse_and_diagnose_invalid_type_name


With current mainline GCC (gcc version 3.5.0 20040319) crash at 
invalide sourcecode:

Test.cc:7: internal compiler error: in 
cp_parser_parse_and_diagnose_invalid_type_name, at cp/parser.c:2060
Please submit a full bug report,

--8X---------------------
template<class T>
class Class1;

class Class2 {
}  // no ;

typedef Class1<Class2> Type1;
--X8---------------------

Giovanni Bajo in PR14283 comment:
"wanderer: this is a totally unrelated bug, even if the ICE happens at the 
same 
place. Would you please file a new bugreport to track it? Thanks."

And i create this bugreport.

-- 
           Summary: ICE in cp_parser_parse_and_diagnose_invalid_type_name
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wanderer at rsu dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-freebsd5.1
  GCC host triplet: i386-unknown-freebsd5.1
GCC target triplet: i386-unknown-freebsd5.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14667


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