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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 16 08:51:00 GMT 2017


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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think it is fine if it has DECL_NAME NULL, but it would be helpful if
DECL_SOURCE_LOCATION of the TRANSLATION_UNIT_DECL was set to some location in
the main input file (e.g. first column on first line of the main_input_file).
Maybe it should be done by each caller build_translation_unit_decl, or by
build_translation_unit_decl itself.


More information about the Gcc-bugs mailing list