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

From-SVN: r210670

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

index 573558c4c2669d9ebbd91b09bcf37ff0d32e3d30..bdc25bb96e48b519173f3d4e51bd0c8b28445202 100644 (file)
@@ -1,3 +1,12 @@
+2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       Backport from mainline
+       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-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        Backport from mainline r204808:
index 8591ab439e99e7ca7da7c5c93ff1bc6d36e1d1d4..f29b23eeb48d9ef89c782ad6109b2a1932f4987c 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