diff mbox

[testsuite] : Do not compile gcc.target/i386/pr66232-{10,11,12,13}.c on ia32 target

Message ID CAFULd4YosuQFf1gJP0gOQgt49wAb82wA+UzbZuNXKYDdAYR1Pg@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Jan. 11, 2016, 4:38 p.m. UTC
Hello!

With older binutils, dg-require-effective-target maybe_x32 works
correctly only on 64bit targets.

2016-01-11  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.target/i386/pr66232-10.c: Do not compile on ia32 target.
    * gcc.target/i386/pr66232-11.c: Ditto.
    * gcc.target/i386/pr66232-12.c: Ditto.
    * gcc.target/i386/pr66232-13.c: Ditto.

Tested on x86_64-linux-gnu {-m32} CentOS 5.11 and committed to mainline SVN.

Uros.
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/i386/pr66232-10.c b/gcc/testsuite/gcc.target/i386/pr66232-10.c
index c4e9157..d5e3d5f 100644
--- a/gcc/testsuite/gcc.target/i386/pr66232-10.c
+++ b/gcc/testsuite/gcc.target/i386/pr66232-10.c
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { target *-*-linux* } } */
+/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
 /* { dg-require-effective-target maybe_x32 } */
 /* { dg-options "-O2 -mx32 -fpic -fno-plt -maddress-mode=long" } */
 
diff --git a/gcc/testsuite/gcc.target/i386/pr66232-11.c b/gcc/testsuite/gcc.target/i386/pr66232-11.c
index 05794af..57446ac 100644
--- a/gcc/testsuite/gcc.target/i386/pr66232-11.c
+++ b/gcc/testsuite/gcc.target/i386/pr66232-11.c
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { target *-*-linux* } } */
+/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
 /* { dg-require-effective-target maybe_x32 } */
 /* { dg-options "-O2 -mx32 -fpic -fno-plt -maddress-mode=long" } */
 
diff --git a/gcc/testsuite/gcc.target/i386/pr66232-12.c b/gcc/testsuite/gcc.target/i386/pr66232-12.c
index 313b9e4..69af4e8 100644
--- a/gcc/testsuite/gcc.target/i386/pr66232-12.c
+++ b/gcc/testsuite/gcc.target/i386/pr66232-12.c
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { target *-*-linux* } } */
+/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
 /* { dg-require-effective-target maybe_x32 } */
 /* { dg-options "-O2 -mx32 -fpic -fno-plt -maddress-mode=long" } */
 
diff --git a/gcc/testsuite/gcc.target/i386/pr66232-13.c b/gcc/testsuite/gcc.target/i386/pr66232-13.c
index 50a12cf..6aa2935 100644
--- a/gcc/testsuite/gcc.target/i386/pr66232-13.c
+++ b/gcc/testsuite/gcc.target/i386/pr66232-13.c
@@ -1,4 +1,4 @@ 
-/* { dg-do compile { target *-*-linux* } } */
+/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
 /* { dg-require-effective-target maybe_x32 } */
 /* { dg-options "-O2 -mx32 -fpic -fno-plt -maddress-mode=long" } */