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 aa01235..d0da860 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 24bc663..47aa1e3 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 65d5fcd..b6786eb 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 dbcf766..b3db30f 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 8e8c670..ffd1f9e 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 2183f0e..ea8d047 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 a6b2168..8bf18b3 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;