From: Janis Johnson <janisjo@codesourcery.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [testsuite] skip ARM tests if no thumb2 support
Date: Tue, 14 Jun 2011 20:51:00 -0000 [thread overview]
Message-ID: <4DF7C61F.4030303@codesourcery.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
These tests apparently require thumb2 support (I don't yet know much
about ARM). OK for trunk, and later 4.6?
Janis
[-- Attachment #2: gcc-20110614-4 --]
[-- Type: text/plain, Size: 1132 bytes --]
2011-06-14 Janis Johnson <janisjo@codesourcery.com>
* gcc.target/arm/pr42879.c: Skip if no thumb2 support, ignore
compiler warning about switch conflicts.
* gcc.target/arm/pr45701-3.c: Likewise.
Index: gcc.target/arm/pr42879.c
===================================================================
--- gcc.target/arm/pr42879.c (revision 175047)
+++ gcc.target/arm/pr42879.c (working copy)
@@ -1,4 +1,6 @@
+/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-march=armv7-a -mthumb -Os" } */
+/* { dg-prune-output "switch .* conflicts with" } */
/* { dg-final { scan-assembler "lsls" } } */
struct A
Index: gcc.target/arm/pr45701-3.c
===================================================================
--- gcc.target/arm/pr45701-3.c (revision 175047)
+++ gcc.target/arm/pr45701-3.c (working copy)
@@ -1,5 +1,7 @@
/* { dg-do compile } */
+/* { dg-require-effective-target arm_thumb2_ok } */
/* { dg-options "-march=armv7-a -mthumb -Os" } */
+/* { dg-prune-output "switch .* conflicts with" } */
/* { dg-final { scan-assembler "push\t.*r8" } } */
/* { dg-final { scan-assembler-not "push\t*r3" } } */
next reply other threads:[~2011-06-14 20:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-14 20:51 Janis Johnson [this message]
2011-06-15 9:04 ` Ramana Radhakrishnan
2011-06-15 16:52 ` Janis Johnson
2011-06-29 14:34 ` Richard Earnshaw
2011-06-29 16:06 ` Janis Johnson
2011-06-29 16:23 ` Richard Sandiford
2011-06-29 20:00 ` Janis Johnson
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=4DF7C61F.4030303@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).