diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2014-05-21 01:24:05 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@gcc.gnu.org> | 2014-05-21 01:24:05 +0000 |
commit | 1ec380e5f5ec14f7e073ea2b48f6b0ef9cf2a439 (patch) | |
tree | be69cab46c69a5270a3b0458eb784581a8f4f329 /libgcc | |
parent | 49039169f30099ed84696aadd872653b03ecfde3 (diff) | |
download | gcc-1ec380e5f5ec14f7e073ea2b48f6b0ef9cf2a439.zip gcc-1ec380e5f5ec14f7e073ea2b48f6b0ef9cf2a439.tar.gz gcc-1ec380e5f5ec14f7e073ea2b48f6b0ef9cf2a439.tar.bz2 |
re PR libgcc/60166 (ARM default NAN encoding violates EABI)
PR libgcc/60166
* config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
(_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
From-SVN: r210668
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/arm/sfp-machine.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 1303694..c912c8c 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2014-05-21 Maciej W. Rozycki <macro@codesourcery.com> + + PR libgcc/60166 + * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S) + (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit. + 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de> * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished diff --git a/libgcc/config/arm/sfp-machine.h b/libgcc/config/arm/sfp-machine.h index 4f2b15d..b7b5171 100644 --- a/libgcc/config/arm/sfp-machine.h +++ b/libgcc/config/arm/sfp-machine.h @@ -21,10 +21,10 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); /* According to RTABI, QNAN is only with the most significant bit of the significand set, and all other significand bits zero. */ -#define _FP_NANFRAC_H 0 -#define _FP_NANFRAC_S 0 -#define _FP_NANFRAC_D 0, 0 -#define _FP_NANFRAC_Q 0, 0, 0, 0 +#define _FP_NANFRAC_H _FP_QNANBIT_H +#define _FP_NANFRAC_S _FP_QNANBIT_S +#define _FP_NANFRAC_D _FP_QNANBIT_D, 0 +#define _FP_NANFRAC_Q _FP_QNANBIT_Q, 0, 0, 0 #define _FP_NANSIGN_H 0 #define _FP_NANSIGN_S 0 #define _FP_NANSIGN_D 0 |