This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Run some more tests on x86_64 with -m32
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 May 2005 11:21:13 -0700
- Subject: Re: Run some more tests on x86_64 with -m32
- References: <m33bsa3pp5.fsf@gromit.moeb>
On Thu, May 26, 2005 at 06:41:10PM +0200, Andreas Jaeger wrote:
>
> We have a number of testcases that only run on i?86 platforms - but
> x86_64 platforms using -m32 are the same. I've changed the testcase
> so that the tests are now run there as well.
>
> +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
> +/* { dg-require-effective-target ilp32 } */
In case you didn't know, it's possible to use
{ target { { i?86-*-* x86_64-*-* } && ilp32 } }
although it's probably more readable the way you've got it.
> Tested on Linux/x86-64 with/without -m32 runs. Ok to commit?
I've been leaving it to other maintainers to approve changes to
individual tests, but this looks fine to me.
Janis