diff options
author | Janis Johnson <janisjo@codesourcery.com> | 2011-06-22 20:27:40 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2011-06-22 20:27:40 +0000 |
commit | c8c933079ad388528d4e00ff02dbe6f947ec7ccc (patch) | |
tree | 872f22454fa26ce02774486055e22cd1b6007253 /gcc | |
parent | bd9db3b8ddf3a689b059808a1e4100a26f3a9550 (diff) | |
download | gcc-c8c933079ad388528d4e00ff02dbe6f947ec7ccc.zip gcc-c8c933079ad388528d4e00ff02dbe6f947ec7ccc.tar.gz gcc-c8c933079ad388528d4e00ff02dbe6f947ec7ccc.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/ctz.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/pr42879.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/pr45701-3.c | 3 |
4 files changed, 10 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c2dcaf4..4b0a6f9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2011-06-22 Janis Johnson <janisjo@codesourcery.com> + * 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 63e9d02..2455f67 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 02af72c..9961a83 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 8255bae..452c398 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" } } */ |