From: Uros Bizjak Date: Sun, 2 Nov 2014 21:32:54 +0000 (+0100) Subject: gen-attrs-42.C: Add x86_64-*-* target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff0562b799804201dc2a195007db5ff97358872f;p=gcc.git gen-attrs-42.C: Add x86_64-*-* target. * 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. From-SVN: r217020 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 04b5429cc46..f5515e3d9b5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2014-11-02 Uros Bizjak + + * 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. + 2014-11-02 Uros Bizjak * c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target. diff --git a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-42.C b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-42.C index ec98ece5885..81b92396290 100644 --- a/gcc/testsuite/g++.dg/cpp0x/gen-attrs-42.C +++ b/gcc/testsuite/g++.dg/cpp0x/gen-attrs-42.C @@ -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 { diff --git a/gcc/testsuite/g++.dg/ext/attrib42.C b/gcc/testsuite/g++.dg/ext/attrib42.C index d0c7ad7235d..03017c772c7 100644 --- a/gcc/testsuite/g++.dg/ext/attrib42.C +++ b/gcc/testsuite/g++.dg/ext/attrib42.C @@ -1,4 +1,4 @@ -// { dg-do compile { target { i?86-*-* && ilp32 } } } +// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } struct A { __attribute__((fastcall)) diff --git a/gcc/testsuite/g++.dg/torture/pr51344.C b/gcc/testsuite/g++.dg/torture/pr51344.C index 07be919c3cb..e60b3adbe1c 100644 --- a/gcc/testsuite/g++.dg/torture/pr51344.C +++ b/gcc/testsuite/g++.dg/torture/pr51344.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target { i?86-*-* && ilp32 } } } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ class A; template diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr29902.C b/gcc/testsuite/g++.dg/tree-ssa/pr29902.C index 838a41169ad..98c98fe4195 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr29902.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr29902.C @@ -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 } */ diff --git a/gcc/testsuite/gcc.c-torture/execute/20010129-1.c b/gcc/testsuite/gcc.c-torture/execute/20010129-1.c index 2d95ffced08..519ed1f4d32 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20010129-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20010129-1.c @@ -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); diff --git a/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c b/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c index fd6827caed2..fee5b84d24e 100644 --- a/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c +++ b/gcc/testsuite/gcc.dg/combine_ashiftrt_2.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/march-generic.c b/gcc/testsuite/gcc.dg/march-generic.c index 7705a416321..6b0923919e3 100644 --- a/gcc/testsuite/gcc.dg/march-generic.c +++ b/gcc/testsuite/gcc.dg/march-generic.c @@ -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 } */ diff --git a/gcc/testsuite/gcc.dg/torture/pr17526.c b/gcc/testsuite/gcc.dg/torture/pr17526.c index 58b479143a8..c5a97685eb5 100644 --- a/gcc/testsuite/gcc.dg/torture/pr17526.c +++ b/gcc/testsuite/gcc.dg/torture/pr17526.c @@ -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); diff --git a/gcc/testsuite/gcc.dg/union-4.c b/gcc/testsuite/gcc.dg/union-4.c index df9f36da09b..eb7f95b0802 100644 --- a/gcc/testsuite/gcc.dg/union-4.c +++ b/gcc/testsuite/gcc.dg/union-4.c @@ -19,5 +19,5 @@ void foo(void) 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" } } */