]> gcc.gnu.org Git - gcc.git/commitdiff
alpha.c (HWI_HEX2): Add missing shift.
authorRichard Henderson <rth@redhat.com>
Tue, 12 Jun 2012 01:00:39 +0000 (18:00 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 12 Jun 2012 01:00:39 +0000 (18:00 -0700)
        * config/alpha/alpha.c (HWI_HEX2): Add missing shift.
        * vmsdbgout.c (VMS_EPOCH_OFFSET): Add LL suffix.

From-SVN: r188413

gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/vmsdbgout.c

index 5f32514124b7416f31efd100cc7734e5fa1ebe37..6576c6b5ec3ba2c455cfdcbb9641340d91f2f441 100644 (file)
@@ -1,5 +1,8 @@
 2012-06-11  Richard Henderson  <rth@redhat.com>
 
+       * config/alpha/alpha.c (HWI_HEX2): Add missing shift.
+       * vmsdbgout.c (VMS_EPOCH_OFFSET): Add LL suffix.
+
        * config/alpha/alpha.c (alpha_trampoline_init): Split large constants.
 
 2012-06-12  Hans-Peter Nilsson  <hp@axis.com>
index 3dda9fb0b16dc68699f4f971c0f00c439a826666..2177288470e1133ba2df97ed191135771abcd83f 100644 (file)
@@ -5451,7 +5451,7 @@ alpha_trampoline_init (rtx m_tramp, tree fndecl, rtx chain_value)
   chain_value = convert_memory_address (Pmode, chain_value);
 #endif
 
-#define HWI_HEX2(X,Y)  (((HOST_WIDE_INT)0x ## X ## u) | 0x ## Y ## u)
+#define HWI_HEX2(X,Y)  (((HOST_WIDE_INT)0x ## X ## u << 32) | 0x ## Y ## u)
 
   if (TARGET_ABI_OPEN_VMS)
     {
index 968965351a2e157f9a34f60fe609cfdf207f160d..eedf1bd51247beca0ef0592b4faec83c6e679cad 100644 (file)
@@ -1676,7 +1676,7 @@ to_vms_file_spec (char *filespec)
 }
 
 #else
-#define VMS_EPOCH_OFFSET 35067168000000000
+#define VMS_EPOCH_OFFSET 35067168000000000LL
 #define VMS_GRANULARITY_FACTOR 10000000
 #endif
 
This page took 0.08947 seconds and 5 git commands to generate.