From: Janis Johnson Date: Wed, 22 Jun 2011 20:29:53 +0000 (+0000) Subject: scd42-3.c: Allow -march-xscale; skip if -mcpu is not xscale. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d059f1894e61304a172cfcb37ee6d92a0227ba9;p=gcc.git scd42-3.c: Allow -march-xscale; skip if -mcpu is not xscale. * gcc.target/arm/scd42-3.c: Allow -march-xscale; skip if -mcpu is not xscale. From-SVN: r175312 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8bb44b1d3b4..691f088b1cf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2011-06-22 Janis Johnson + * gcc.target/arm/scd42-3.c: Allow -march-xscale; skip if -mcpu + is not xscale. + * gcc.target/arm/thumb-bitfld1.c: Don't specify -march, require thumb1. * gcc.target/arm/ctz.c: Don't specify -march, require thumb2. diff --git a/gcc/testsuite/gcc.target/arm/scd42-3.c b/gcc/testsuite/gcc.target/arm/scd42-3.c index d1d07b0835e..eb90e43c4dc 100644 --- a/gcc/testsuite/gcc.target/arm/scd42-3.c +++ b/gcc/testsuite/gcc.target/arm/scd42-3.c @@ -1,6 +1,7 @@ /* Verify that ldr is preferred on XScale for loading a 3 or 4 byte constant. */ /* { dg-do compile } */ -/* { dg-skip-if "incompatible options" { arm*-*-* } { "-march=*" } { "" } } */ +/* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-march=*" } { "-march=xscale" } } */ +/* { dg-skip-if "Test is specific to Xscale" { arm*-*-* } { "-mcpu=*" } { "-mcpu=xscale" } } */ /* { dg-options "-mcpu=xscale -O" } */ unsigned load4(void) __attribute__ ((naked));