FAIL: gcc.dg/float-range-3.c (test for excess errors) Excess errors: /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/float-range-3.c:10: error: 'FP_INFINITE' undeclared (first use in this function) /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/float-range-3.c:10: error: (Each undeclar ed identifier is reported only once /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/float-range-3.c:10: error: for each funct ion it appears in.)
Subject: Bug 31828 Author: sje Date: Wed Jun 6 17:48:03 2007 New Revision: 125496 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125496 Log: PR testsuite/31828 * inclhack.def (hppa_hpux_fp_macros): New. * fixincl.x: Regenerate. * * tests/base/math.h: Update. Modified: trunk/fixincludes/ChangeLog trunk/fixincludes/fixincl.x trunk/fixincludes/inclhack.def trunk/fixincludes/tests/base/math.h
This is fixed on HP-UX 11.* systems but is still an issue on HP-UX 10.* systems.
Is the use of macro FP_INFINITE in these tests a typo? It seems to me that the tests should be using the C99 macro INFINITY. In which case, the tests should be conditional on c99_runtime.
On the otherhand, maybe the tests should use __builtin_inff.
Subject: Bug 31828 Author: danglin Date: Tue Oct 2 02:17:50 2007 New Revision: 128947 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128947 Log: PR testsuite/31828 gcc.dg/float-range-3.c (INFINITY): Define if not defined. (overflow): Use INFINITY, not FP_INFINITE. gcc.dg/float-range-4.c: Likewise. gcc.dg/float-range-5.c: Likewise. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/float-range-3.c trunk/gcc/testsuite/gcc.dg/float-range-4.c trunk/gcc/testsuite/gcc.dg/float-range-5.c
Fixed.