]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libgcc/60166 (ARM default NAN encoding violates EABI)
authorMaciej W. Rozycki <macro@codesourcery.com>
Wed, 21 May 2014 01:24:05 +0000 (01:24 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Wed, 21 May 2014 01:24:05 +0000 (01:24 +0000)
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

libgcc/ChangeLog
libgcc/config/arm/sfp-machine.h

index 13036945556b2aea4572a4e8ddfd202bd783a9a0..c912c8c7b8aae8741f6bfeeffd3691a7de1a5f05 100644 (file)
@@ -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
index 4f2b15d7e55d0c53176b382d51d676f3b13ad996..b7b5171e702d533f9587f54228fccd6c88a4ae93 100644 (file)
@@ -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