* [testsuite] ARM: check for thumb1 or thumb2 support
@ 2011-06-21 21:38 Janis Johnson
2011-06-21 21:41 ` Ramana Radhakrishnan
0 siblings, 1 reply; 2+ messages in thread
From: Janis Johnson @ 2011-06-21 21:38 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 140 bytes --]
Modify three tests that require thumb support by skipping them if
neither thumb1 nor thumb2 is supported.
OK for trunk, and later for 4.6?
[-- Attachment #2: gcc-20110621-6 --]
[-- Type: text/plain, Size: 1374 bytes --]
2011-06-21 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/arm/20031108-1.c: Require thumb1 or thumb2.
* gcc.target/arm/pr40482.c: Likewise.
* gcc.target/arm/stack-corruption.c: Likewise.
Index: gcc.target/arm/20031108-1.c
===================================================================
--- gcc.target/arm/20031108-1.c (revision 175269)
+++ gcc.target/arm/20031108-1.c (working copy)
@@ -1,5 +1,6 @@
/* PR optimization/10467 */
/* { dg-do compile } */
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-O2 -mthumb" } */
typedef enum {Ident_1} Enumeration;
Index: gcc.target/arm/pr40482.c
===================================================================
--- gcc.target/arm/pr40482.c (revision 175269)
+++ gcc.target/arm/pr40482.c (working copy)
@@ -1,3 +1,4 @@
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-mthumb -Os" } */
/* { dg-final { scan-assembler-not "ldr" } } */
Index: gcc.target/arm/stack-corruption.c
===================================================================
--- gcc.target/arm/stack-corruption.c (revision 175269)
+++ gcc.target/arm/stack-corruption.c (working copy)
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-O -mthumb -fno-omit-frame-pointer" } */
int main() {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [testsuite] ARM: check for thumb1 or thumb2 support
2011-06-21 21:38 [testsuite] ARM: check for thumb1 or thumb2 support Janis Johnson
@ 2011-06-21 21:41 ` Ramana Radhakrishnan
0 siblings, 0 replies; 2+ messages in thread
From: Ramana Radhakrishnan @ 2011-06-21 21:41 UTC (permalink / raw)
To: Janis Johnson; +Cc: gcc-patches
On 21 June 2011 22:07, Janis Johnson <janisjo@codesourcery.com> wrote:
> Modify three tests that require thumb support by skipping them if
> neither thumb1 nor thumb2 is supported.
>
> OK for trunk, and later for 4.6?
>
Ok
Thanks,
Ramana
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-21 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 21:38 [testsuite] ARM: check for thumb1 or thumb2 support Janis Johnson
2011-06-21 21:41 ` 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).