Use long long for 64bit int.
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 28 Jul 2011 20:36:39 +0000 (20:36 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 28 Jul 2011 20:36:39 +0000 (13:36 -0700)
2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
version.
(_FP_WS_TYPE): Likewise.
(_FP_I_TYPE): Likewise.

From-SVN: r176894

libgcc/ChangeLog
libgcc/config/i386/64/sfp-machine.h

index 49b087d..99235b7 100644 (file)
@@ -1,3 +1,10 @@
+2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
+       version.
+       (_FP_WS_TYPE): Likewise.
+       (_FP_I_TYPE): Likewise.
+
 2011-07-28  Alan Modra  <amodra@gmail.com>
 
        * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
index 5adf6db..5debf5a 100644 (file)
@@ -1,14 +1,8 @@
 #define _FP_W_TYPE_SIZE                64
 
-#ifdef _WIN64
- #define _FP_W_TYPE            unsigned long long
- #define _FP_WS_TYPE           signed long long
- #define _FP_I_TYPE            long long
-#else
- #define _FP_W_TYPE            unsigned long
- #define _FP_WS_TYPE           signed long
- #define _FP_I_TYPE            long
-#endif
+#define _FP_W_TYPE             unsigned long long
+#define _FP_WS_TYPE            signed long long
+#define _FP_I_TYPE             long long
 
 typedef int TItype __attribute__ ((mode (TI)));
 typedef unsigned int UTItype __attribute__ ((mode (TI)));