[Bug target/32641] C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions
ghazi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jul 21 21:57:00 GMT 2007
------- Comment #4 from ghazi at gcc dot gnu dot org 2007-07-21 21:57 -------
Subject: Bug 32641
Author: ghazi
Date: Sat Jul 21 21:57:21 2007
New Revision: 126815
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126815
Log:
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.
Modified:
branches/gcc-4_2-branch/fixincludes/ChangeLog
branches/gcc-4_2-branch/fixincludes/fixincl.x
branches/gcc-4_2-branch/fixincludes/inclhack.def
branches/gcc-4_2-branch/fixincludes/tests/base/iso/math_c99.h
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/c99-math-double-1.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/c99-math-float-1.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/c99-math-long-double-1.c
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/c99-math.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32641
More information about the Gcc-bugs
mailing list