Drop target_option_node reconstruction logic.

H.J. Lu hjl.tools@gmail.com
Wed Nov 19 15:56:00 GMT 2014


On Fri, Nov 14, 2014 at 11:13 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> Hi,
> this patch kills lto's code to rebuilt DECL_FUNCTION_SPECIFIC_TARGET from target
> attributes.  This code was never complete and it should be no-op now when we save
> tehe target nodes.
> It also makes free_land_data_in_decl to actually anotate all function bodies with
> a default option node.  The reason is that when LTOint units, one compiled with
> default settings and one, say with -msse3, we want ot keep these functions preserved.
>
> Incrementally i will proceed with similar changes for optimization nodes.
>
> Bootstrapped/regtested ppc64-linux, earlier version tested at x86_64-linux and
> firefox LTO, OK?
>
> Honza
>
>         * lto.c (lto_read_decls): Do not rebuild DECL_FUNCTION_SPECIFIC_TARGET.
>         * tree.c (free_lang_data_in_decl): Annotate all functio nbodies with
>         DECL_FUNCTION_SPECIFIC_TARGET.

It caused:

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

-- 
H.J.



More information about the Gcc-patches mailing list