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++/38637] [4.4 regression] ICE with template declaration of enum



------- Comment #2 from jakub at gcc dot gnu dot org  2008-12-29 08:29 -------
Subject: Bug 38637

Author: jakub
Date: Mon Dec 29 08:28:06 2008
New Revision: 142946

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142946
Log:
        PR c++/38637
        * decl.c (start_enum): If enumtype is error_mark_node, exit early.

        * g++.dg/cpp0x/enum2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/enum2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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