This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix pr23575 testcase on x86-64
- From: Andreas Jaeger <aj at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 29 Aug 2005 06:45:24 +0200
- Subject: Fix pr23575 testcase on x86-64
pr23575 fails on x86-64 with:
Executing on host: /builds/gcc/misc/gcc/xgcc -B/builds/gcc/misc/gcc/ /cvs/gcc/gcc
/testsuite/gcc.target/i386/pr23575.c -march=pentium4 -O2 -fno-show-column -S -
o pr23575.s (timeout = 300)
/cvs/gcc/gcc/testsuite/gcc.target/i386/pr23575.c:1: error: CPU you selected does
not support x86-64 instruction set
/cvs/gcc/gcc/testsuite/gcc.target/i386/pr23575.c:1: error: CPU you selected does
not support x86-64 instruction set
compiler exited with status 1
Fixed with the appended patch, committed as obvious,
Andreas
2005-08-29 Andreas Jaeger <aj@suse.de>
* 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 } */
/* We used to ICE because of a bogous pattern. */
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126