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++/50084] [C++0x] ICE: decltype + remove_reference + new


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-08-30 21:27:39 UTC ---
Author: jason
Date: Tue Aug 30 21:27:36 2011
New Revision: 178340

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178340
Log:
    PR c++/50084
    * cp-tree.h (cp_decl_specifier_seq): Rename user_defined_type_p
    to type_definition_p.
    * parser.c (cp_parser_set_decl_spec_type): Likewise.
    * decl.c (grokdeclarator): Check it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype33.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/parser.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]