------- Comment #7 from bkoz at gcc dot gnu dot org  2009-01-27 00:19 -------

Updating this bug report. 

This specific test case can no longer be reproduced as of gcc-4.0.x (and
continuing to 4.1.x, 4.2.x, 4.3.x, and today's trunk.) 

This appears to be as a result of -std=gnu99 being required for these macros
visible. 

However, the issue returns for c++0x, as -std=gnu++0x makes these macros
visible by design, making the code ill-formed. This is confirmed by the
numerics parts of N2798, Table 113 where cmath has the following macros:

FP_FAST_FMA
FP_FAST_FMAF
FP_FAST_FMAL
FP_ILOGB0
FP_ILOGBNAN
FP_INFINITE
FP_NAN
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
HUGE_VAL
HUGE_VALF
HUGE_VALL
INFINITY
NAN
MATH_ERRNO
MATH_ERREXCEPT
math_errhandling

Thus, I am going to close this as WONTFIX. For C++0x, the case is INVALID, and
for open gcc branches the bug status is FIXED.

Gaby, if I'm off on this please re-open. 

-benjamin


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   GCC host triplet|                            |i686-pc-linux-gnu
      Known to work|                            |4.0.4 4.1.2 4.2.4
         Resolution|                            |WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7439

Reply via email to