[Bug c++/89390] [9 Regression] ICE in get_string, at spellcheck-tree.h:46
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 23 01:20:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89390
--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Author: dmalcolm
Date: Sat Feb 23 01:19:38 2019
New Revision: 269145
URL: https://gcc.gnu.org/viewcvs?rev=269145&root=gcc&view=rev
Log:
Capture source location of dtors (PR c++/89390)
gcc/cp/ChangeLog:
PR c++/89390
* parser.c (cp_parser_unqualified_id): Capture and use locations
for destructors.
gcc/testsuite/ChangeLog:
PR c++/89390
* g++.dg/diagnostic/pr89390.C: Update expected location of error,
renaming to a multicharacter name, so that start != finish. Add
tests for dtor locations.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/diagnostic/pr89390.C
More information about the Gcc-bugs
mailing list