diff mbox

[i386] : Simplify some target selectors in gcc.target/i386

Message ID CAFULd4ZT1viEjZVUnKq_rKLBOfJ8Pgxe3dpAiQZirz6ZA0V0og@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 12, 2014, 5:46 p.m. UTC
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.
diff mbox

Patch

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 */