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 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.

Thanks,
Richard.

> Iain
>
>>
>> Thanks,
>> Richard.
>>
>>> Iain
>>>
>>> gcc/testsuite/ChangLog:
>>>
>>> ? ? ? * lib/lto.exp (lto-link-and-maybe-run): Add options to link fail
>>> message.
>>>
>>>
>>>
>>>
>>>
>
>


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