This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix pr23575 testcase on x86-64
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Aug 2005 03:25:31 -0400
- Subject: Re: Fix pr23575 testcase on x86-64
- References: <m3br3h8i6z.fsf@gromit.moeb>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Aug 29, 2005 at 06:45:24AM +0200, Andreas Jaeger wrote:
> * gcc.target/i386/pr23575.c: Run only on 32-bit x86.
>
> ============================================================
> Index: gcc/testsuite/gcc.target/i386/pr23575.c
> --- gcc.target/i386/pr23575.c 27 Aug 2005 12:04:28 -0000 1.1
> +++ gcc.target/i386/pr23575.c 29 Aug 2005 04:43:49 -0000
> @@ -1,5 +1,6 @@
> /* { dg-do compile } */
> /* { dg-options "-march=pentium4 -O2" } */
> +/* { dg-require-effective-target ilp32 } */
As the testcase ought to work just fine with -m64, IMHO it would be much
better to:
/* { dg-options "-O2" } */
/* { dg-options "-march=pentium4 -O2" { target ilp32 } } */
Or, just:
/* { dg-options "-msse2 -O2" } */
(I have verified the testcase ICEs unfixed compiler on both -m32 and -m64
in that case).
Jakub