From patchwork Wed Jul 7 22:08:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix testcase for pr44391 to run only for x86 Date: Wed, 07 Jul 2010 12:08:12 -0000 From: Ramana Radhakrishnan X-Patchwork-Id: 58200 Message-Id: To: gcc-patches Cc: spop@gcc.gnu.org Hi, 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 appreciated. Ok to commit on trunk? Thanks, Ramana 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 b/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)