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]

Re: [PATCH, PR 57363] IBM long double: adding qNaN and number raises inexact exception


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.

> +/* Check if adding a sNAN and a normal long double does not generate a
> +   inexact exception.  */

qNaN again :-)

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


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