https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43064
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org --- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #6) > If I remember correctly, the problem here is constants and other > non-expression nodes don't have a location, so diagnostics use > input_location, which points to the end of the initializer. Something like > X+1 should work. > > If so, David started fixing this problem cc-ing him then.