[Bug c++/90462] Internal compiler error with deprecated-copy and json diagnostics

2019-05-22 Thread dmalcolm at gcc dot gnu.org
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.

[Bug c++/90462] Internal compiler error with deprecated-copy and json diagnostics

2019-05-22 Thread dmalcolm at gcc dot gnu.org
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

[Bug c++/90462] Internal compiler error with deprecated-copy and json diagnostics

2019-05-16 Thread dmalcolm at gcc dot gnu.org
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

[Bug c++/90462] Internal compiler error with deprecated-copy and json diagnostics

2019-05-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90462 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|