From: Janis Johnson Date: Wed, 22 Jun 2011 20:27:40 +0000 (+0000) Subject: ctz.c: Don't specify -march, require thumb2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8c933079ad388528d4e00ff02dbe6f947ec7ccc;p=gcc.git ctz.c: Don't specify -march, require thumb2. * gcc.target/arm/ctz.c: Don't specify -march, require thumb2. * gcc.target/arm/pr42879.c: Likewise. * gcc.target/arm/pr45701-3.c: Likewise. From-SVN: r175310 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c2dcaf41f09..4b0a6f927f5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2011-06-22 Janis Johnson + * gcc.target/arm/ctz.c: Don't specify -march, require thumb2. + * gcc.target/arm/pr42879.c: Likewise. + * gcc.target/arm/pr45701-3.c: Likewise. + * gcc.target/arm/20031108-1.c: Require thumb1 or thumb2. * gcc.target/arm/pr40482.c: Likewise. * gcc.target/arm/stack-corruption.c: Likewise. diff --git a/gcc/testsuite/gcc.target/arm/ctz.c b/gcc/testsuite/gcc.target/arm/ctz.c index 63e9d0266d2..2455f67400e 100644 --- a/gcc/testsuite/gcc.target/arm/ctz.c +++ b/gcc/testsuite/gcc.target/arm/ctz.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target arm32 } */ -/* { dg-options "-O2 -march=armv6t2" } */ +/* { dg-require-effective-target arm_thumb2_ok } */ +/* { dg-options "-O2" } */ unsigned int functest(unsigned int x) { diff --git a/gcc/testsuite/gcc.target/arm/pr42879.c b/gcc/testsuite/gcc.target/arm/pr42879.c index 02af72c18cc..9961a839fb8 100644 --- a/gcc/testsuite/gcc.target/arm/pr42879.c +++ b/gcc/testsuite/gcc.target/arm/pr42879.c @@ -1,4 +1,5 @@ -/* { dg-options "-march=armv7-a -mthumb -Os" } */ +/* { dg-require-effective-target arm_thumb2_ok } */ +/* { dg-options "-mthumb -Os" } */ /* { dg-final { scan-assembler "lsls" } } */ struct A diff --git a/gcc/testsuite/gcc.target/arm/pr45701-3.c b/gcc/testsuite/gcc.target/arm/pr45701-3.c index 8255bae1143..452c398f92c 100644 --- a/gcc/testsuite/gcc.target/arm/pr45701-3.c +++ b/gcc/testsuite/gcc.target/arm/pr45701-3.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=armv7-a -mthumb -Os" } */ +/* { dg-require-effective-target arm_thumb2_ok } */ +/* { dg-options "-mthumb -Os" } */ /* { dg-final { scan-assembler "push\t.*r8" } } */ /* { dg-final { scan-assembler-not "push\t*r3" } } */