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, testsuite, lto] show the options on link fails.



On 31 May 2010, at 14:47, Richard Guenther wrote:


On Mon, May 31, 2010 at 3:45 PM, IainS <developer@sandoe-acoustics.co.uk > wrote:

On 31 May 2010, at 14:19, Richard Guenther wrote:


On Mon, May 31, 2010 at 3:00 PM, IainS <developer@sandoe-acoustics.co.uk >
wrote:

this is a trivial patch that adds $optstr to the output from a failed LTO
link
(so that one can see which conditions cause fail immediately, rather than
waiting until the log file is avail.).
OK for trunk?

- if ![${tool}_check_compile "$testcase $testname link" "" \
+ if ![${tool}_check_compile "$testcase $testname link $optstr" "" \


I believe this should be link" $optstr \

like in the other case.

Indeed, (using the word 'trivial' invites discovery of trivial mistakes ...
;-) )
OK, with that change ?

Ok if it passes testing.

ci as r160141 after checking lto.exp=* on cris-elf, i686-pc-linux, {powerpc,i686)-apple-darwin9.
Iain



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