This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: patch-nan.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]