https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84798

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar 23 14:39:30 2018
New Revision: 258809

URL: https://gcc.gnu.org/viewcvs?rev=258809&root=gcc&view=rev
Log:
        PR c++/84798 - ICE with auto in abstract function declarator.

        * parser.c (cp_parser_parameter_declaration_clause): Check
        parser->default_arg_ok_p.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/auto-60626.C
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/auto51.C
Removed:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/pr60626.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/parser.c
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/pr60393.C

Reply via email to