On Sun, Nov 2, 2014 at 8:31 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.

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

    * g++.dg/cpp0x/gen-attrs-42.C: Add x86_64-*-* target.
    * g++.dg/ext/attrib42.C: Ditto.
    * g++.dg/torture/pr51344.C: Ditto.
    * g++.dg/tree-ssa/pr29902.C: Ditto.
    * gcc.c-torture/execute/20010129-1.c: Ditto.
    * gcc.dg/combine_ashiftrt_2.c: Ditto.
    * gcc.dg/march-generic.c: Ditto.
    * gcc.dg/torture/pr17526.c: Ditto.
    * gcc.dg/union-4.c: Ditto.

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

Uros.
Index: g++.dg/cpp0x/gen-attrs-42.C
===================================================================
--- g++.dg/cpp0x/gen-attrs-42.C (revision 216994)
+++ g++.dg/cpp0x/gen-attrs-42.C (working copy)
@@ -1,5 +1,5 @@
 // { dg-options "-pedantic" }
-// { dg-do compile { target { i?86-*-* && ilp32 } } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
 // { dg-require-effective-target c++11 }
 
 struct A {
Index: g++.dg/ext/attrib42.C
===================================================================
--- g++.dg/ext/attrib42.C       (revision 216994)
+++ g++.dg/ext/attrib42.C       (working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target { i?86-*-* && ilp32 } } }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
 
 struct A {
   __attribute__((fastcall))
Index: g++.dg/torture/pr51344.C
===================================================================
--- g++.dg/torture/pr51344.C    (revision 216994)
+++ g++.dg/torture/pr51344.C    (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { i?86-*-* && ilp32 } } } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
 class A;
 
 template <class T>
Index: g++.dg/tree-ssa/pr29902.C
===================================================================
--- g++.dg/tree-ssa/pr29902.C   (revision 216994)
+++ g++.dg/tree-ssa/pr29902.C   (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target i?86-*-* } } */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
 /* { dg-options "-O1 -fprefetch-loop-arrays -march=athlon" } */
 /* { dg-require-effective-target ilp32 } */
 
Index: gcc.c-torture/execute/20010129-1.c
===================================================================
--- gcc.c-torture/execute/20010129-1.c  (revision 216994)
+++ gcc.c-torture/execute/20010129-1.c  (working copy)
@@ -1,4 +1,4 @@
-/* { dg-options "-mtune=i686" { target { { i?86*-*-* } && ilp32 } } } */
+/* { dg-options "-mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } 
} */
 
 extern void abort (void);
 extern void exit (int);
Index: gcc.dg/combine_ashiftrt_2.c
===================================================================
--- gcc.dg/combine_ashiftrt_2.c (revision 216994)
+++ gcc.dg/combine_ashiftrt_2.c (working copy)
@@ -1,4 +1,5 @@
-/* { dg-do compile {target arm*-*-* i?86-*-* powerpc-*-* sparc-*-*} } */
+/* { dg-do compile {target arm*-*-* i?86-*-* x86_64-*-* powerpc-*-* sparc-*-*} 
} */
+/* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O2 -fdump-rtl-combine-all" } */
 
 typedef long int32_t;
Index: gcc.dg/march-generic.c
===================================================================
--- gcc.dg/march-generic.c      (revision 216994)
+++ gcc.dg/march-generic.c      (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target i?86-*-* } } */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "" } } */
 /* { dg-options "-march=generic" } */
 /* { dg-error "generic CPU can be used only for -mtune" "" { target *-*-* } 0 
} */
Index: gcc.dg/torture/pr17526.c
===================================================================
--- gcc.dg/torture/pr17526.c    (revision 216994)
+++ gcc.dg/torture/pr17526.c    (working copy)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-options "-fno-pcc-struct-return" { target i?86-*-* } } */
+/* { dg-options "-fno-pcc-struct-return" { target i?86-*-* x86_64-*-* } } */
 
 void abort(void);
 
Index: gcc.dg/union-4.c
===================================================================
--- gcc.dg/union-4.c    (revision 216994)
+++ gcc.dg/union-4.c    (working copy)
@@ -19,5 +19,5 @@
     abort ();
 }
 
-/* { dg-final { scan-rtl-dump-not "abort" "cse1" { target i?86-*-* } } } */
+/* { dg-final { scan-rtl-dump-not "abort" "cse1" { target i?86-*-* x86_64-*-* 
} } } */
 /* { dg-final { cleanup-rtl-dump "cse1" } } */

Reply via email to