* [Patch ARM] Cleanup test runs -
@ 2012-03-27 10:28 Ramana Radhakrishnan
0 siblings, 0 replies; only message in thread
From: Ramana Radhakrishnan @ 2012-03-27 10:28 UTC (permalink / raw)
To: gcc-patches; +Cc: Andrew Stubbs
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
Hi,
I noticed that the tests were failing in ARM mode. Fixed thusly as
these tests are only meant to be run for Thumb state.
Committed to trunk.
regards.
Ramana
2012-03-27 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
* gcc.target/arm/thumb-ifcvt.c: Only run for -mthumb.
* gcc.target/arm/thumb-16bit-ops.c: Likewise.
[-- Attachment #2: testsuite-cleanup.txt --]
[-- Type: text/plain, Size: 1037 bytes --]
Index: gcc/testsuite/gcc.target/arm/thumb-16bit-ops.c
===================================================================
--- gcc/testsuite/gcc.target/arm/thumb-16bit-ops.c (revision 185854)
+++ gcc/testsuite/gcc.target/arm/thumb-16bit-ops.c (working copy)
@@ -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 )
Index: gcc/testsuite/gcc.target/arm/thumb-ifcvt.c
===================================================================
--- gcc/testsuite/gcc.target/arm/thumb-ifcvt.c (revision 185854)
+++ gcc/testsuite/gcc.target/arm/thumb-ifcvt.c (working copy)
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-27 10:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-27 10:28 [Patch ARM] Cleanup test runs - Ramana Radhakrishnan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).