From: Uros Bizjak Date: Sat, 17 May 2014 11:03:31 +0000 (+0200) Subject: pr60969.C: Compile for all ilp32 x86 targets. X-Git-Tag: releases/gcc-5.1.0~7507 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95ac221a3a8c6856e206758657774cee5da453ff;p=thirdparty%2Fgcc.git pr60969.C: Compile for all ilp32 x86 targets. * g++.dg/pr60969.C: Compile for all ilp32 x86 targets. (dg-options): Add -mfpmath=387. (dg-final): Check that no MMX registers are used. From-SVN: r210550 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 682d9c7039cf..c4007679cd3e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2014-05-17 Uros Bizjak + + * g++.dg/pr60969.C: Compile for all ilp32 x86 targets. + (dg-options): Add -mfpmath=387. + (dg-final): Check that no MMX registers are used. + 2014-05-17 Andreas Schwab * gcc.target/ia64/visibility-1.c (variable_i): Add used attribute. diff --git a/gcc/testsuite/g++.dg/pr60969.C b/gcc/testsuite/g++.dg/pr60969.C index 3f8d4c5b959a..bea0801d4614 100644 --- a/gcc/testsuite/g++.dg/pr60969.C +++ b/gcc/testsuite/g++.dg/pr60969.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target i?86-*-* } } */ -/* { dg-options "-O2 -ftree-vectorize -march=pentium4" } */ +/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ +/* { dg-options "-O2 -ftree-vectorize -march=pentium4 -mfpmath=387" } */ struct A { @@ -28,3 +28,5 @@ foo (A &s, A &t, A &u, A &v, int y, int z) } return x; } + +/* { dg-final { scan-assembler-not "%mm" } } */