devirt-28a.C: Require LTO effective target.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 30 Apr 2015 20:22:51 +0000 (22:22 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 30 Apr 2015 20:22:51 +0000 (22:22 +0200)
* g++.dg/ipa/devirt-28a.C: Require LTO effective target.
* g++.dg/ext/sync-4.C (dg-additional-options): Use -march=pentium
for 32bit x86 targets.
* gcc.dg/pr36504.c (dg-additional-options): Use -march=i686 -msse
for 32bit x86 targets.
* gcc.dg/pr39455.c (dg-additional-options): Ditto.
* gcc.dg/pr45352-1.c (dg-additional-options): Ditto.
* gcc.dg/pr63914.c (dg-additional-options): Use -msse
for 32bit x86 targets.

From-SVN: r222656

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/sync-4.C
gcc/testsuite/g++.dg/ipa/devirt-28a.C
gcc/testsuite/gcc.dg/pr36504.c
gcc/testsuite/gcc.dg/pr39455.c
gcc/testsuite/gcc.dg/pr45352-1.c
gcc/testsuite/gcc.dg/pr63914.c

index aa0123502c798d8b59e0c688b4161bc2807cd232..d0da860a06266a07d7c126a9f2b88bb22242daa0 100644 (file)
@@ -1,3 +1,15 @@
+2015-04-29  Uros Bizjak  <ubizjak@gmail.com>
+
+       * g++.dg/ipa/devirt-28a.C: Require LTO effective target.
+       * g++.dg/ext/sync-4.C (dg-additional-options): Use -march=pentium
+       for 32bit x86 targets.
+       * gcc.dg/pr36504.c (dg-additional-options): Use -march=i686 -msse
+       for 32bit x86 targets.
+       * gcc.dg/pr39455.c (dg-additional-options): Ditto.
+       * gcc.dg/pr45352-1.c (dg-additional-options): Ditto.
+       * gcc.dg/pr63914.c (dg-additional-options): Use -msse
+       for 32bit x86 targets.
+
 2015-04-30  Marek Polacek  <polacek@redhat.com>
 
        PR tree-optimization/63551
index 24bc663999186031e097b914afdf4df23b7d1b3b..47aa1e38d571cedd18c1a70134bb916f9b433879 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
 /* { dg-require-effective-target sync_long_long_runtime } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
+/* { dg-additional-options "-march=pentium" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 
 /* Verify that the builtin functions are correctly marked as trapping
    when using -fnon-call-exceptions.  */
index 65d5fcdf3e2bd5e99dad4406ed561f24e8942029..b6786eb4ea497e3df805f14cebcbc5f1f03de60f 100644 (file)
@@ -1,6 +1,7 @@
 // PR c++/58678
 // { dg-options "-O3 -flto -shared -fPIC -Wl,--no-undefined" }
 // { dg-do link { target { { gld && fpic } && shared } } }
+// { dg-require-effective-target lto }
 
 struct A {
   virtual ~A();
index dbcf76648bf89aebd5c2968ff6407621eef6db0e..b3db30f4f5cdb2cee97219d20d96e08665582a5d 100644 (file)
@@ -1,6 +1,7 @@
 /* PR tree-optimization/36504 */
 /* { dg-do compile } */
 /* { dg-options "-O3 -fprefetch-loop-arrays -w" } */
+/* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 
 struct A { struct { int a; } b[8]; };
 struct B { int c; int d; };
index 8e8c67034f2c0dd2cb479c3c82d0f4ba0540a1b3..ffd1f9edde32edf7dcf5cd8d771c2277fc460f7c 100644 (file)
@@ -1,6 +1,7 @@
 /* PR tree-optimization/39455 */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fprefetch-loop-arrays -w" } */
+/* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 
 void
 foo (char *x, unsigned long y, unsigned char *z)
index 2183f0eea00398992e437ee3b825776cdf173edb..ea8d04725530cf5a9bd9fbdc971eaad556de0de9 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
 /* { dg-options "-O3 -fschedule-insns -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-loops -fprefetch-loop-arrays" } */
+/* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
 
 void main1 (float *pa, float *pc)
 {
index a6b21686421cef2164d9649f8de387da6da91bd1..8bf18b3df2c5bd440d0d27bf1c38853537096bb3 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-options "-O2 -ffast-math" } */
 /* { dg-prune-output "non-standard ABI extension" } */
 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
+/* { dg-additional-options "-msse" { target { i?86-*-* x86_64-*-* } } } */
 
 typedef float __m128 __attribute__ ((__vector_size__ (16)));
 __m128 a, d, e;