Hello!

2015-04-29  Uros Bizjak  <ubiz...@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.

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

Uros.
Index: g++.dg/ext/sync-4.C
===================================================================
--- g++.dg/ext/sync-4.C (revision 222610)
+++ g++.dg/ext/sync-4.C (working copy)
@@ -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: g++.dg/ipa/devirt-28a.C
===================================================================
--- g++.dg/ipa/devirt-28a.C     (revision 222610)
+++ g++.dg/ipa/devirt-28a.C     (working copy)
@@ -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: gcc.dg/pr36504.c
===================================================================
--- gcc.dg/pr36504.c    (revision 222610)
+++ gcc.dg/pr36504.c    (working copy)
@@ -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: gcc.dg/pr39455.c
===================================================================
--- gcc.dg/pr39455.c    (revision 222610)
+++ gcc.dg/pr39455.c    (working copy)
@@ -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: gcc.dg/pr45352-1.c
===================================================================
--- gcc.dg/pr45352-1.c  (revision 222610)
+++ gcc.dg/pr45352-1.c  (working copy)
@@ -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: gcc.dg/pr63914.c
===================================================================
--- gcc.dg/pr63914.c    (revision 222610)
+++ gcc.dg/pr63914.c    (working copy)
@@ -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;

Reply via email to