This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Drop target_option_node reconstruction logic.
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Guenther <rguenther at suse dot de>
- Date: Wed, 19 Nov 2014 19:11:43 +0100
- Subject: Re: Drop target_option_node reconstruction logic.
- Authentication-results: sourceware.org; auth=none
- References: <20141114191315 dot GB6818 at kam dot mff dot cuni dot cz> <CAMe9rOp10iOBTOV1ASpvvyvqp31+uXj39FNODUeHbtqOMHo8Fg at mail dot gmail dot com>
> On Fri, Nov 14, 2014 at 11:13 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
nz
> > 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
This one seems to be abou ifcft change by Zhenqiang?
Honza
>
> --
> H.J.