r278570 - in /trunk/gcc: cp/ChangeLog cp/parser...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Thu Nov 21 15:27:00 GMT 2019
Author: mpolacek
Date: Thu Nov 21 15:27:46 2019
New Revision: 278570
URL: https://gcc.gnu.org/viewcvs?rev=278570&root=gcc&view=rev
Log:
PR c++/92450 - ICE with invalid nested name specifier.
* parser.c (cp_parser_member_declaration): Don't attempt to print
erroneous bit-field diagnostic if grokdeclarator returns
error_mark_node.
* g++.dg/parse/crash71.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/parse/crash71.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list