https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61802
--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Thu Jul 24 13:50:31 2014 New Revision: 212991 URL: https://gcc.gnu.org/viewcvs?rev=212991&root=gcc&view=rev Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/varasm.c