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: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Fri, 14 Nov 2014 21:01:12 +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> <20141114195245 dot GA11685 at x4>
> On 2014.11.14 at 20:13 +0100, Jan Hubicka wrote:
> > 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.
>
> FYI this patch finally fixes: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60607
Yes, properly combining different target flags was the main motivation (so we
get correct LTO for firefox :) Still hope to be able to finish the
optimization_node part, so combining other flags will work as expected.
If you could turn this into a testcase, it would be cool.
Honza
>
> Thanks.
> --
> Markus