gcc/libgcc/config
Aurelien Jarno a1b01d3403 [ARM] Fix PR target/59833
For Aurelien Jarno <aurelien@aurel32.net>

On ARM soft-float, the float to double conversion doesn't convert a sNaN
to qNaN as the IEEE Std 754 standard mandates:

"Under default exception handling, any operation signaling an invalid
operation exception and for which a floating-point result is to be
delivered shall deliver a quiet NaN."

Given the soft float ARM code ignores exceptions and always provides a
result, a float to double conversion of a signaling NaN should return a
quiet NaN. Fix this in extendsfdf2.

gcc/ChangeLog:

	PR target/59833
	* config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.

gcc/testsuite/ChangeLog:

	* gcc.dg/pr59833.c: New testcase.

From-SVN: r238584
2016-07-21 08:27:47 +00:00
..
aarch64 Update copyright years. 2016-01-04 15:30:50 +01:00
alpha Update copyright years. 2016-01-04 15:30:50 +01:00
arc [ARC] Handle FPX NaN within optimized floating point library. 2016-04-29 12:49:26 +02:00
arm [ARM] Fix PR target/59833 2016-07-21 08:27:47 +00:00
avr remove avr-rtems support 2016-06-21 21:57:44 +00:00
bfin Update copyright years. 2016-01-04 15:30:50 +01:00
c6x Update copyright years. 2016-01-04 15:30:50 +01:00
cr16 Update copyright years. 2016-01-04 15:30:50 +01:00
cris Update copyright years. 2016-01-04 15:30:50 +01:00
epiphany Update copyright years. 2016-01-04 15:30:50 +01:00
fr30 Update copyright years. 2016-01-04 15:30:50 +01:00
frv Update copyright years. 2016-01-04 15:30:50 +01:00
ft32 ft32.opt (mnodiv): New. 2016-03-29 00:37:26 +00:00
h8300 Update copyright years. 2016-01-04 15:30:50 +01:00
i386 remove support for the interix target 2016-06-21 21:57:20 +00:00
ia64 * Partially revert my previous commit. 2016-06-14 01:11:27 +02:00
iq2000 Update copyright years. 2016-01-04 15:30:50 +01:00
libbid Update copyright years. 2016-01-04 15:30:50 +01:00
lm32 Update copyright years. 2016-01-04 15:30:50 +01:00
m32c Update copyright years. 2016-01-04 15:30:50 +01:00
m32r Update copyright years. 2016-01-04 15:30:50 +01:00
m68k * config/m68k/linux-atomic.c: Do not include unistd.h 2016-04-21 23:43:43 -06:00
mcore Update copyright years. 2016-01-04 15:30:50 +01:00
microblaze Update copyright years. 2016-01-04 15:30:50 +01:00
mips Update copyright years. 2016-01-04 15:30:50 +01:00
mmix Update copyright years. 2016-01-04 15:30:50 +01:00
moxie Update copyright years. 2016-01-04 15:30:50 +01:00
msp430 cmpd.c (__mspabi_cmpf): Add prototype. 2016-04-25 11:13:35 +00:00
nds32 Update copyright years. 2016-01-04 15:30:50 +01:00
nios2 Update copyright years. 2016-01-04 15:30:50 +01:00
nvptx free.asm: Delete. 2016-05-26 14:22:40 +00:00
pa fptr.c (__canonicalize_funcptr_for_compare): Don't set least-significant bit in function pointer for fixup. 2016-06-18 17:49:58 +00:00
pdp11 Append to HOST_LIBGCC2_CFLAGS in libgcc 2011-11-07 17:14:32 +00:00
rl78 Update copyright years. 2016-01-04 15:30:50 +01:00
rs6000 _divkc3.c: New. 2016-07-12 16:05:18 +00:00
rx Update copyright years. 2016-01-04 15:30:50 +01:00
s390 S/390: Add -fsplit-stack support 2016-02-15 10:20:18 +00:00
score Update copyright years. 2016-01-04 15:30:50 +01:00
sh crt1.S: Remove SH5 support. 2016-04-29 14:10:26 +00:00
sol2 Save call-clobbered registers in _mcount on 32-bit Solaris/x86 (PR target/38239) 2016-03-16 11:57:02 +00:00
sparc Update copyright years. 2016-01-04 15:30:50 +01:00
spu Update copyright years. 2016-01-04 15:30:50 +01:00
stormy16 Update copyright years. 2016-01-04 15:30:50 +01:00
tilegx TILE-Gx big endian support. 2014-02-24 15:08:00 +00:00
tilepro linux.h: Do not include arch/icache.h 2016-06-28 16:20:58 +00:00
v850 Update copyright years. 2016-01-04 15:30:50 +01:00
vax Update copyright years. 2016-01-04 15:30:50 +01:00
visium Update copyright years. 2016-01-04 15:30:50 +01:00
vms Update copyright years. 2016-01-04 15:30:50 +01:00
xtensa xtensa: fix libgcc build with --text-section-literals 2016-02-17 20:21:48 +00:00
darwin-64.c Update copyright years. 2016-01-04 15:30:50 +01:00
darwin-crt3.c Update copyright years. 2016-01-04 15:30:50 +01:00
darwin-crt-tm.c Update copyright years. 2016-01-04 15:30:50 +01:00
gthr-lynx.h Update copyright years. 2016-01-04 15:30:50 +01:00
gthr-rtems.h Update copyright years. 2016-01-04 15:30:50 +01:00
gthr-vxworks.h Update copyright years. 2016-01-04 15:30:50 +01:00
hardfp.c Update copyright years. 2016-01-04 15:30:50 +01:00
libgcc-glibc.ver Update copyright years. 2016-01-04 15:30:50 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm Remove obsolete Tru64 UNIX V5.1B support 2012-03-12 15:35:56 +00:00
t-crtstuff-pic
t-darwin * config/t-darwin (crt3.0): Remove work-around for fixed PR26840. 2012-07-14 13:50:59 +00:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp Update copyright years. 2016-01-04 15:30:50 +01:00
t-hardfp-sfdf Update copyright years. 2016-01-04 15:30:50 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2016-01-04 15:30:50 +01:00
t-linux
t-openbsd-thread Append to HOST_LIBGCC2_CFLAGS in libgcc 2011-11-07 17:14:32 +00:00
t-rtems
t-slibgcc Update copyright years. 2016-01-04 15:30:50 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux re PR other/55274 (gcc build hangs on HP-UX 11.11) 2013-04-06 18:22:09 +00:00
t-slibgcc-libgcc Update copyright years. 2016-01-04 15:30:50 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld Don't build libgcc-unwind.map with --disable-shared (PR libgcc/61097) 2014-05-08 12:11:14 +00:00
t-slibgcc-vms
t-softfp Update copyright years. 2016-01-04 15:30:50 +01:00
t-softfp-compat Make soft-fp symbols into compat symbols for powerpc*-*-linux*. 2014-10-30 17:28:30 +00:00
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf IA MCU psABI support: changes to libraries 2015-06-30 09:42:07 -07:00
t-softfp-tf
t-stack
t-tls
t-vxworks Append to HOST_LIBGCC2_CFLAGS in libgcc 2011-11-07 17:14:32 +00:00
unwind-dw2-fde-darwin.c Update copyright years. 2016-01-04 15:30:50 +01:00
vxlib-tls.c Update copyright years. 2016-01-04 15:30:50 +01:00
vxlib.c Update copyright years. 2016-01-04 15:30:50 +01:00