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 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'.  */
 


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