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++/51473] [c++0x] ICE with auto and friend


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

--- Comment #5 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-12-15 15:40:31 UTC ---
Author: dodji
Date: Thu Dec 15 15:40:25 2011
New Revision: 182375

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182375
Log:
PR c++/51473 - ICE with invalid auto

gcc/cp/

    PR c++/51473
    * decl.c (check_tag_decl): Error out on auto specifier with no
    declarator.

gcc/testsuite/

    PR c++/51473
    * g++.dg/cpp0x/auto30.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/auto30.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]