This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, shall we for (maybe just for in_lto_p) replace
pp_string (&module_name_pp, main_input_filename);
with something that grabs the module name from VAR_DECL's containing
TRANSLATION_UNIT_DECL?  Though not sure how well will that work if the
variables are C++17 inline vars, or some other comdat vars that LTO merges
together, then the TRANSLATION_UNIT_DECL in VAR_DECL's ultimate context still
might be different.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]