This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR60179 - do not LTO stream DECL_FUNCTION_SPECIFIC_TARGET


On Fri, Feb 14, 2014 at 11:51:43AM +0100, Richard Biener wrote:
> This removes streaming of cl_target_option (we can't stream
> pointers in it).  The info was redundant given that we do stream
> the target attribute itself.  So the following patch re-builds
> DECL_FUNCTION_SPECIFIC_TARGET at tree loading time (we need it
> during WPA inline analysis as well).
> 
> LTO bootstrapped and tested on x86_64-unknown-linux-gnu, ok?
> 
> (and yes, this fixes the libcpp/lex.o miscompare I was seeing
> with LTO bootstrap)
> 
> The target hook implementations never use the 'name' or 'flags'
> arguments so I wonder if we should change its signature.  That
> makes the values I pass to those args less arbitrary ;)

Looks good.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]