re PR lto/61802 (AArch64 execute.exp failures with LTO after r212467)
commit10a3a880c1c39baa9e0d6c792c665a5b80eb41d0
authorJan Hubicka <hubicka@ucw.cz>
Thu, 24 Jul 2014 13:50:31 +0000 (24 15:50 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 24 Jul 2014 13:50:31 +0000 (24 13:50 +0000)
tree9627af636077948ca1b0b54017736df9f2a61982
parentc4bc3399f7605a632da40532e19d5fd3c33cc09d
re PR lto/61802 (AArch64 execute.exp failures with LTO after r212467)

PR lto/61802
* varasm.c (bss_initializer_p): Handle offlined ctors.
(align_variable, get_variable_align): Likewise.
(make_decl_one_only): Likewise.
(default_binds_local_p_1): Likewise.
(decl_binds_to_current_def_p): Likewise.
(get_variable_section): Get constructor if it is offlined.
(assemble_variable_contents): Sanity check that the caller
streamed in the ctor in LTO.

From-SVN: r212991
gcc/ChangeLog
gcc/varasm.c