PR32083 - Use correct sign for -Inf in real.c's mpfr_from_real

Steve Kargl sgk@troutmask.apl.washington.edu
Sat May 26 22:37:00 GMT 2007


On Sat, May 26, 2007 at 11:55:39PM +0200, Tobias Burnus wrote:
> :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?
> 

OK.


-- 
Steve



More information about the Fortran mailing list