[Bug lto/79061] [7 Regression][LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco"

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 17 08:20:00 GMT 2017


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));


More information about the Gcc-bugs mailing list