re PR lto/79061 ([LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initializati...
authorMaxim Ostapenko <m.ostapenko@samsung.com>
Mon, 30 Jan 2017 16:06:15 +0000 (16:06 +0000)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Mon, 30 Jan 2017 16:06:15 +0000 (18:06 +0200)
commitf1860ba97c381a17281e33a895bbad4f5006d43b
tree43be8d004c6d57d30f8e3cd49a3302ffc5cffb7a
parent37731134c71cc81ed8245d583e1fbbfab879fa5f
re PR lto/79061 ([LTO][ASAN] LTO plus ASAN fails with "AddressSanitizer: initialization-order-fiasco")

PR lto/79061
* asan.c (get_translation_unit_decl): Remove function.
(asan_add_global): Force has_dynamic_init to zero in LTO mode.

From-SVN: r245033
gcc/ChangeLog
gcc/asan.c