This is the mail archive of the 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]

[Patch] Fix testcase for pr44391 to run only for x86


This fixes an unnecessary failure for pr44391.c on any platform that
doesn't support the -m32 command line option. I noticed this failing
on the ARM port because there doesn't exist a -m32 option to the ARM
backend and presumably this test was targeted only for the x86 port.

I'm not very familiar with the idioms for the x86 port or indeed the
variations in the testsuite so additional eyeballs would be

Ok to commit on trunk?


2010-07-07  Ramana Radhakrishnan  <>

        * gcc.dg/graphite/pr44391.c: Run only for x86 platforms.

diff --git a/gcc/testsuite/gcc.dg/graphite/pr44391.c
index 91b3afa..dde2fb7 100644
--- a/gcc/testsuite/gcc.dg/graphite/pr44391.c
+++ b/gcc/testsuite/gcc.dg/graphite/pr44391.c
@@ -1,4 +1,4 @@
-/* { dg-options "-Os -m32 -fgraphite-identity -ffast-math" } */
+/* { dg-options "-Os -m32 -fgraphite-identity -ffast-math"  { target
{ { i?86-*-* x86_64-*-* } && ilp32 } } } */

 void byte_insert_op1 (unsigned char *loc, unsigned char *end, unsigned *pto)

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