On Sun, Nov 2, 2014 at 10:35 PM, Uros Bizjak <ubiz...@gmail.com> wrote:

>> Attached (mechanical) patch adds i?86-*-* target to many tests, where
>> only x86_64-*-* is listed. Please note that x86_64-*-* already
>> included && lp64 for 64bit specific tests due to -m32 multilib
>> testing.
>
> Following patch adds missing x86_64-*-* target in the same way.

And following patch fixes x32 fallout.

2014-11-03  Uros Bizjak  <ubiz...@gmail.com>

    * gcc.c-torture/execute/20010129-1.c: Compile with -mtune=i686
    for ia32 targets only.
    * g++.dg/ext/attrib42.C: Compile for ia32 targets only.
    * g++.dg/tree-ssa/pr29902.C: Ditto.
    * g++.dg/cpp0x/gen-attrs-42.C: Ditto.

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

Uros.
Index: gcc.c-torture/execute/20010129-1.c
===================================================================
--- gcc.c-torture/execute/20010129-1.c  (revision 217029)
+++ gcc.c-torture/execute/20010129-1.c  (working copy)
@@ -1,4 +1,4 @@
-/* { dg-options "-mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } 
} */
+/* { dg-options "-mtune=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } 
*/
 
 extern void abort (void);
 extern void exit (int);
Index: g++.dg/ext/attrib42.C
===================================================================
--- g++.dg/ext/attrib42.C       (revision 217029)
+++ g++.dg/ext/attrib42.C       (working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
 
 struct A {
   __attribute__((fastcall))
Index: g++.dg/tree-ssa/pr29902.C
===================================================================
--- g++.dg/tree-ssa/pr29902.C   (revision 217029)
+++ g++.dg/tree-ssa/pr29902.C   (working copy)
@@ -1,6 +1,5 @@
-/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 /* { dg-options "-O1 -fprefetch-loop-arrays -march=athlon" } */
-/* { dg-require-effective-target ilp32 } */
 
 int length1();
 int g(int);
Index: g++.dg/cpp0x/gen-attrs-42.C
===================================================================
--- g++.dg/cpp0x/gen-attrs-42.C (revision 217029)
+++ g++.dg/cpp0x/gen-attrs-42.C (working copy)
@@ -1,5 +1,5 @@
 // { dg-options "-pedantic" }
-// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
 // { dg-require-effective-target c++11 }
 
 struct A {

Reply via email to