From: Janis Johnson <janisjo@codesourcery.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [testsuite] ARM: check for thumb1 or thumb2 support
Date: Tue, 21 Jun 2011 21:38:00 -0000 [thread overview]
Message-ID: <4E010802.2070209@codesourcery.com> (raw)
[-- 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() {
next reply other threads:[~2011-06-21 21:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-21 21:38 Janis Johnson [this message]
2011-06-21 21:41 ` Ramana Radhakrishnan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E010802.2070209@codesourcery.com \
--to=janisjo@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).