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++/60626] [c++1y] ICE with pointer to function with auto parameter


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

--- Comment #1 from Adam Butcher <abutcher at gcc dot gnu.org> ---
Author: abutcher
Date: Sat Mar 29 19:23:44 2014
New Revision: 208940

URL: http://gcc.gnu.org/viewcvs?rev=208940&root=gcc&view=rev
Log:
Fix PR c++/60626

    PR c++/60626
    * parser.c (cp_parser_init_declarator): Handle erroneous generic type
    usage in non-functions with pushed scope.

    PR c++/60626
    * g++.dg/cpp1y/pr60626.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr60626.C
Modified:
    trunk/gcc/cp/ChangeLog
    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]