This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix spec-options.c test case
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: oleg dot endo at t-online dot de
- Cc: bschmidt at redhat dot com, bernd dot edlinger at hotmail dot de, gcc-patches at gcc dot gnu dot org, krebbel at linux dot vnet dot ibm dot com, vogt at linux dot vnet dot ibm dot com
- Date: Tue, 03 May 2016 10:19:32 +0900 (JST)
- Subject: Re: [PATCH] Fix spec-options.c test case
- Authentication-results: sourceware.org; auth=none
- References: <AM4PR07MB1571F18E8343708341E6D725E4790 at AM4PR07MB1571 dot eurprd07 dot prod dot outlook dot com> <57276071 dot 1010206 at redhat dot com> <1462224483 dot 31604 dot 120 dot camel at t-online dot de>
Oleg Endo <oleg.endo@t-online.de> wrote:
> On Mon, 2016-05-02 at 16:13 +0200, Bernd Schmidt wrote:
>> On 05/02/2016 03:43 PM, Bernd Edlinger wrote:
>> > Yes, you are right. Only the original use-case seems to be
>> > sh-superh-elf specific. But there are also spec strings
>> > that are always available. I think adding -DFOO to
>> > "cpp_unique_options" will work on any target, and make the
>> > test case even more useful.
>> >
>> >
>> > So is the updated patch OK?
>>
>> If that passes testing on non-sh, yes.
>
> It seems that test case doesn't work on sh4-linux. There's a new
> failure:
>
> https://gcc.gnu.org/ml/gcc-testresults/2016-05/msg00089.html
>
> FAIL: gcc.dg/spec-options.c execution test
It looks there is a glitch of my sh4-linux test system and foo.specs
wasn't updated correctly:
-rw-rw-r--. 1 kkojima dodes 30 Jun 2 2012 gcc/testsuite/gcc.dg/foo.specs
With updating svn trunk again, I've got
-rw-r--r--. 1 kkojima dodes 38 May 3 10:05 gcc/testsuite/gcc.dg/foo.specs
and "make check-gcc RUNTESTFLAGS="dg.exp=spec-options.c"" gives
=== gcc Summary ===
# of expected passes 2
Sorry for the inconvenience.
Regards,
kaz