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++/47635] [C++0x] ICE on invalid code in constructor_name_p, at cp/name-lookup.c:1809


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-20 14:40:34 UTC ---
Author: jason
Date: Mon Jun 20 14:40:29 2011
New Revision: 175216

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175216
Log:
    PR c++/47635
    * decl.c (grokdeclarator): Don't set ctype to an ENUMERAL_TYPE.

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


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