re PR target/32641 (C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions)
commitdadda6caba15b21a03e9522ca5cce41e2c2d270b
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 18 Jul 2007 20:22:32 +0000 (18 20:22 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 18 Jul 2007 20:22:32 +0000 (18 20:22 +0000)
treecbf2a3e15dd08f11a41d46289515a304aec79ed0
parent2a48b790b26895fd7fb56c9ce1d64f083dd278bb
re PR target/32641 (C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions)

fixincludes:
PR target/32641

* inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
solaris_math_7): Constify and make FP exception-safe.
* tests/base/iso/math_c99.h: Update.

* fixincl.x: Regenerate.

gcc/testsuite:
* gcc.dg/c99-math-double-1.c: Mark test variables as volatile.
Test negative numbers also.
* gcc.dg/c99-math-float-1.c: Likewise.
* gcc.dg/c99-math-long-double-1.c: Likewise.
* gcc.dg/c99-math.h: Check for FP exceptions.  Update for negative
test inputs.

From-SVN: r126730
fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/iso/math_c99.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-math-double-1.c
gcc/testsuite/gcc.dg/c99-math-float-1.c
gcc/testsuite/gcc.dg/c99-math-long-double-1.c
gcc/testsuite/gcc.dg/c99-math.h