This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, testsuite] Add lp64 to target requirements of new IRA shrink wrapping preparation testcases
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 13 Nov 2013 17:20:09 -0800
- Subject: Re: [PATCH, testsuite] Add lp64 to target requirements of new IRA shrink wrapping preparation testcases
- Authentication-results: sourceware.org; auth=none
- References: <20131113152714 dot GH10643 at virgil dot suse> <CAMe9rOqr9StCHNHpVyn+4Fy+JOLa4qC_tK6bnf6HWpKOQD8Txw at mail dot gmail dot com> <20131114001740 dot GI10643 at virgil dot suse>
On Wed, Nov 13, 2013 at 4:17 PM, Martin Jambor <mjambor@suse.cz> wrote:
> On Wed, Nov 13, 2013 at 12:41:54PM -0800, H.J. Lu wrote:
>> On Wed, Nov 13, 2013 at 7:27 AM, Martin Jambor <mjambor@suse.cz> wrote:
>> > Hi,
>> >
>> > the testcases I have added for IRA shrink wrapping preparation code
>> > were not intended for -m32 on x86_64 and should not be tested with it,
>> > thus I'm adding lp64 to the target requirements.
>> >
>> > Let me also briefly mention that I would like to make the testcases
>> > also run on ppc64 and therefore I did not put them into
>> > gcc.target/i386.
>> >
>> > I have tested the changes by running
>> >
>> > make -k check RUNTESTFLAGS="dg.exp=ira-shrinkwrap-prep-?.c
>> > --target_board=unix/\{,32\}" and
>> > RUNTESTFLAGS="dg.exp=pr10474.c --target_board=unix/\{,32\}"
>> >
>> > and examining the gcc.sum files. Since this was recommended by Richi
>> > on IRC, I will commit the change in a few minutes.
>> >
>> > Thanks,
>> >
>> > Martin
>> >
>> >
>> > 2013-11-13 Martin Jambor <mjambor@suse.cz>
>> >
>> > * testsuite/gcc.dg/ira-shrinkwrap-prep-1.c: Add lp64 to target
>> > requirements.
>> > * testsuite/gcc.dg/ira-shrinkwrap-prep-2.c: Likewise.
>>
>> Those 2 pass on x32.
>>
>> > * testsuite/gcc.dg/pr10474.c: Likewise.
>> >
>>
>> This fails on x32. Should it pass on x32?
>>
>
> I would assume all three should be ignored as UNSUPPORTED on x32 now.
The first 2 passed before this checkin.
> How exactly does it fail?
>
I got
FAIL: gcc.dg/pr10474.c scan-rtl-dump pro_and_epilogue "Performing
shrink-wrapping"
with
make check-gcc RUNTESTFLAGS="--target_board='unix{-mx32}' dg.exp=pr10474.c"
before your checkin.
--
H.J.