> 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