https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061

--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Maxim Ostapenko from comment #12)
> Created attachment 40525 [details]
> Untested fix 2.
> 
> The patch I'm testing now.

DECL_SOURCE_LOCATION is streamed for all decls already:

  if (CODE_CONTAINS_STRUCT (code, TS_DECL_MINIMAL))
    stream_output_location (ob, &bp, DECL_SOURCE_LOCATION (expr));

Reply via email to