devirt-28a.C: Require LTO effective target.

* 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
This commit is contained in:
Uros Bizjak 2015-04-30 22:22:51 +02:00 committed by Uros Bizjak
parent 81ccb75226
commit 6d158d9a6b
7 changed files with 18 additions and 0 deletions

View 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

View 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. */

View 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();

View 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; };

View 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)

View 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)
{

View 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;