PR32083 - Use correct sign for -Inf in real.c's mpfr_from_real
Tobias Burnus
burnus@net-b.de
Sat May 26 21:55:00 GMT 2007
:ADDPATCH middle-end:
This should be obvious. REAL_VALUE_TYPE's sign is one for negative
numbers and zero for positive numbers.
mpfr_set_inf is positive for sign >= 0, and negative for sign < 0.
Build on x86_64-unknown-linux-gnu and checked via check-gcc and
check-gfortran with no new failures.
(failing are gcc.c-torture/execute/mayalias-2.c (ICE),
gcc.c-torture/execute/mayalias-3.c (ICE) and gcc.dg/cpp/Wmissingdirs.c)
Ok for the trunk?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: real.diff
Type: text/x-patch
Size: 2660 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070526/80a408f1/attachment.bin>
More information about the Fortran
mailing list