merge from gcc

This commit is contained in:
DJ Delorie
2005-07-12 10:35:00 +00:00
parent 5817d0c78b
commit f2942ea4dd
6 changed files with 32 additions and 4 deletions

View File

@@ -306,6 +306,13 @@ floatformat_to_double (const struct floatformat *fmt,
mant_bits_left -= mant_bits;
}
/* On certain systems (such as GNU/Linux), the use of the
INFINITY macro below may generate a warning that can not be
silenced due to a bug in GCC (PR preprocessor/11931). The
preprocessor fails to recognise the __extension__ keyword in
conjunction with the GNU/C99 extension for hexadecimal
floating point constants and will issue a warning when
compiling with -pedantic. */
if (nan)
dto = NAN;
else