This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR32083 - Use correct sign for -Inf in real.c's mpfr_from_real
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Sat, 26 May 2007 15:35:55 -0700
- Subject: Re: PR32083 - Use correct sign for -Inf in real.c's mpfr_from_real
- References: <4658ACDB.7040604@net-b.de>
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