This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix gcc.dg/sync-2.c for i386
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Jun 2005 19:37:40 -0700
- Subject: fix gcc.dg/sync-2.c for i386
* gcc.dg/sync-2.c: Use -march=i486 for i386.
Index: gcc.dg/sync-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/sync-2.c,v
retrieving revision 1.1
diff -u -p -d -r1.1 sync-2.c
--- gcc.dg/sync-2.c 1 Jun 2005 00:45:16 -0000 1.1
+++ gcc.dg/sync-2.c 3 Jun 2005 02:34:00 -0000
@@ -1,5 +1,7 @@
/* { dg-do run } */
/* { dg-require-effective-target sync_char_short } */
+/* { dg-options "-march=i486" { target i?86-*-* } } */
+/* { dg-options "-march=i486" { target { x86_64-*-* && ilp32 } } } */
/* Test functionality of the intrinsics for 'short' and 'char'. */