[LTO][PATCH] Handle NaNs and Inf in rea_from_string

Doug Kwan (關振德) dougkwan@google.com
Wed Dec 19 03:03:00 GMT 2007


Hi

    Could someone review this? This fixes 10 failures in
c-torture/execute/ieee because NaNs and Inf are not properly read
back. If efficiency is a concern in real_from_string, I can bracket
the 3 calls to strncmp with an appropriate if (isupper (str[0]).  This
has also been tested with top of trunk doing a full C/C++ dejagnu run.
 No regression there.

-Doug
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-nan.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071219/13ac4edb/attachment.txt>


More information about the Gcc-patches mailing list