This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR 57363] IBM long double: adding qNaN and number raises inexact exception
- From: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Nov 2013 18:14:41 -0200
- Subject: Re: [PATCH, PR 57363] IBM long double: adding qNaN and number raises inexact exception
- Authentication-results: sourceware.org; auth=none
- References: <201311182010 dot rAIKA6PW026926 at d06av02 dot portsmouth dot uk dot ibm dot com>
On 18-11-2013 18:10, Ulrich Weigand wrote:
> Adhemerval Zanella wrote:
>
>> 2013-11-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * libgcc/config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add of normal number and qNaN to not raise an inexact exception. * gcc/testsuite/gcc.target/powerpc/pr57363.c: New file: check for PR#57363.
>>
> This should go into two separate ChangeLog files, one in libgcc/ChangeLog:
>
> * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add of normal number
> and qNaN to not raise an inexact exception.
>
> and one in gcc/testsuite/ChangeLog:
>
> * gcc.target/powerpc/pr57363.c: New test.
Ok, thanks for spot it.
>
>> +/* Check if adding a sNAN and a normal long double does not generate a
>> + inexact exception. */
> qNaN again :-)
Yeah... :(
>
> Thanks,
> Ulrich
>