https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90462
--- Comment #4 from David Malcolm ---
r271535 should fix the ICE on trunk, but it doesn't fix the missing "finish"
location for the warning described in comment #2.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90462
--- Comment #3 from David Malcolm ---
Author: dmalcolm
Date: Thu May 23 00:42:03 2019
New Revision: 271535
URL: https://gcc.gnu.org/viewcvs?rev=271535&root=gcc&view=rev
Log:
Bulletproof -fdiagnostics-format=json against bad locations (PR c++/904
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90462
--- Comment #2 from David Malcolm ---
Thanks.
It's attempting to dereference a NULL file when erroneously attempting to
serialize UNKNOWN_LOCATION for the finish_loc of a location range.
Notice how:
deprecated-copy-crash.cc:43:5: warning: imp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90462
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|