This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, testsuite, lto] show the options on link fails.
- From: IainS <developer at sandoe-acoustics dot co dot uk>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 2 Jun 2010 08:31:55 +0100
- Subject: Re: [Patch, testsuite, lto] show the options on link fails.
- References: <1172A549-9ED1-4972-9308-66E89F8D3C30@sandoe-acoustics.co.uk> <AANLkTimjbXs2ZpN2KK7_Mlq0igS9PXXtmLFXXdaVnqUw@mail.gmail.com> <259DCF0B-5EF6-4A46-A6D7-0F6C8394D144@sandoe-acoustics.co.uk> <AANLkTimoThQcr6o73SxDb-PJ0kZI5Es0vfm-qxT7c_QH@mail.gmail.com>
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