public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, i386]: Simplify some target selectors in gcc.target/i386
@ 2014-11-12 17:47 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2014-11-12 17:47 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

Hello!

2014-11-12  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.target/i386/pr45852.c: Simplify target selector.
    * gcc.target/i386/pr63495.c: Ditto.
    * gcc.target/i386/pr39496.c: Ditto.
    * gcc.target/i386/pr36613.c: Ditto.

Tested on x86_64-linux-gnu {,-m32} and committed.

Uros.

[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 1983 bytes --]

Index: gcc.target/i386/pr45852.c
===================================================================
--- gcc.target/i386/pr45852.c	(revision 217404)
+++ gcc.target/i386/pr45852.c	(working copy)
@@ -1,6 +1,6 @@
 /* PR middle-end/45852 */
 /* { dg-options "-O2 -mcmodel=small" } */
-/* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && { ! { ia32 } } } } } */
+/* { dg-do compile { target { *-*-linux* && { ! { ia32 } } } } } */
 /* { dg-require-visibility "" } */
 
 struct S { int s; };
Index: gcc.target/i386/pr63495.c
===================================================================
--- gcc.target/i386/pr63495.c	(revision 217404)
+++ gcc.target/i386/pr63495.c	(working copy)
@@ -1,5 +1,5 @@
 /* PR c/63495 */
-/* { dg-do compile { target { i?86-*-linux* x86_64-*-linux* } } } */
+/* { dg-do compile { target *-*-linux* } } */
 /* { dg-options "-std=gnu11" } */
 
 struct __attribute__ ((aligned (8))) S { char c; };
Index: gcc.target/i386/pr39496.c
===================================================================
--- gcc.target/i386/pr39496.c	(revision 217404)
+++ gcc.target/i386/pr39496.c	(working copy)
@@ -1,5 +1,5 @@
 /* PR target/39496 */
-/* { dg-do compile { target { { i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } && ia32 } } } */
+/* { dg-do compile { target { { *-*-linux* *-*-gnu* } && ia32 } } } */
 /* { dg-options "-O0 -fverbose-asm -fno-omit-frame-pointer -mtune=i686 -msse2 -mfpmath=sse" } */
 /* Verify that {foo,bar}{,2}param are all passed on the stack, using
    normal calling conventions, when not optimizing.  */
Index: gcc.target/i386/pr36613.c
===================================================================
--- gcc.target/i386/pr36613.c	(revision 217404)
+++ gcc.target/i386/pr36613.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target { { i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } && ilp32 } } } */
+/* { dg-do run { target { { *-*-linux* *-*-gnu* } && ilp32 } } } */
 /* { dg-options "-Os" } */
 /* PR target/36613 */
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-12 17:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-12 17:47 [PATCH, i386]: Simplify some target selectors in gcc.target/i386 Uros Bizjak

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).