This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]