diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e28c3dd0f51..e10e53dc51f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-03-27 Ramana Radhakrishnan + + * gcc.target/arm/thumb-ifcvt.c: Only run for -mthumb. + * gcc.target/arm/thumb-16bit-ops.c: Likewise. + 2012-03-26 Martin Jambor PR tree-optimization/50052 diff --git a/gcc/testsuite/gcc.target/arm/thumb-16bit-ops.c b/gcc/testsuite/gcc.target/arm/thumb-16bit-ops.c index 2b712380bf2..bd4f4897f35 100644 --- a/gcc/testsuite/gcc.target/arm/thumb-16bit-ops.c +++ b/gcc/testsuite/gcc.target/arm/thumb-16bit-ops.c @@ -1,7 +1,7 @@ /* Check that the compiler properly uses 16-bit encodings where available. */ /* { dg-do compile } */ /* { dg-require-effective-target arm_thumb2_ok } */ -/* { dg-options "-Os -fno-builtin" } */ +/* { dg-options "-Os -fno-builtin -mthumb" } */ int f (int a, int b ) diff --git a/gcc/testsuite/gcc.target/arm/thumb-ifcvt.c b/gcc/testsuite/gcc.target/arm/thumb-ifcvt.c index b03bbce77fe..d51827aa742 100644 --- a/gcc/testsuite/gcc.target/arm/thumb-ifcvt.c +++ b/gcc/testsuite/gcc.target/arm/thumb-ifcvt.c @@ -1,7 +1,7 @@ /* Check that Thumb 16-bit shifts can be if-converted. */ /* { dg-do compile } */ /* { dg-require-effective-target arm_thumb2_ok } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mthumb" } */ int foo (int a, int b)