Fix Libreoffice LTO build failure
Thu Sep 11 15:34:00 GMT 2014
Jan Hubicka <email@example.com> writes:
> Libreoffice fails to build because ltrans tries to fetch in variable constructor
> that is not shipped there. Fixed thus.
> Bootstrapped/regtested x86_64-linux.
> * varpool.c (varpool_node::ctor_useable_for_folding_p): Do not try
> to access removed nodes.
> Index: varpool.c
> --- varpool.c (revision 215100)
> +++ varpool.c (working copy)
> @@ -316,6 +316,11 @@ varpool_node::ctor_useable_for_folding_p
> && !real_node->lto_file_data)
> return false;
> + /* Avoid attempts to load constructors that was not streamed. */
that *were* not streamed. Plural.
More information about the Gcc-patches