re PR testsuite/39831 (gcc.target/i386/excess-precision-*.c assume the default -mfp-math does not include SSE)

PR testsuite/39831
	* gcc.target/i386/excess-precision-1.c: Use -mfpmath=387, and
	remove ilp32 requirement.
	* gcc.target/i386/excess-precision-2.c: Likewise.
	* gcc.target/i386/excess-precision-3.c: Likewise.
	* gcc.target/i386/excess-precision-4.c: Likewise.
	* gcc.target/i386/excess-precision-5.c: Likewise.
	* gcc.target/i386/excess-precision-6.c: Likewise.

From-SVN: r148395
This commit is contained in:
Francois-Xavier Coudert 2009-06-11 20:06:32 +00:00 committed by François-Xavier Coudert
parent b5a6e96fa0
commit 5514b0f3df
7 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,14 @@
2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR testsuite/39831
* gcc.target/i386/excess-precision-1.c: Use -mfpmath=387, and
remove ilp32 requirement.
* gcc.target/i386/excess-precision-2.c: Likewise.
* gcc.target/i386/excess-precision-3.c: Likewise.
* gcc.target/i386/excess-precision-4.c: Likewise.
* gcc.target/i386/excess-precision-5.c: Likewise.
* gcc.target/i386/excess-precision-6.c: Likewise.
2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/38718

View File

@ -1,8 +1,7 @@
/* Excess precision tests. Test that excess precision is carried
through various operations. */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -fexcess-precision=standard" } */
/* { dg-options "-O2 -mfpmath=387 -fexcess-precision=standard" } */
#include <float.h>

View File

@ -1,7 +1,6 @@
/* Excess precision tests. Test excess precision of constants. */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -fexcess-precision=standard" } */
/* { dg-options "-O2 -mfpmath=387 -fexcess-precision=standard" } */
#include <float.h>

View File

@ -1,8 +1,7 @@
/* Excess precision tests. Test excess precision is removed when
necessary. */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -fexcess-precision=standard" } */
/* { dg-options "-O2 -mfpmath=387 -fexcess-precision=standard" } */
#include <float.h>
#include <stdarg.h>

View File

@ -1,8 +1,7 @@
/* Excess precision tests. Test diagnostics for excess precision of
constants. */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-fexcess-precision=standard" } */
/* { dg-options "-mfpmath=387 -fexcess-precision=standard" } */
float f = 0.0f * 1e50f; /* { dg-warning "floating constant exceeds range of 'float'" } */
double d = 0.0 * 1e400; /* { dg-warning "floating constant exceeds range of 'double'" } */

View File

@ -1,8 +1,7 @@
/* Excess precision tests. Verify excess precision doesn't affect
actual types. */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-fexcess-precision=standard" } */
/* { dg-options "-mfpmath=387 -fexcess-precision=standard" } */
float f;
double d;

View File

@ -1,8 +1,7 @@
/* Excess precision tests. Make sure sqrt is not inlined for float or
double. */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -fno-math-errno -fexcess-precision=standard" } */
/* { dg-options "-mfpmath=387 -O2 -fno-math-errno -fexcess-precision=standard" } */
float f;
double d;