ia64.h (ASM_OUTPUT_DWARF_OFFSET): Add cast.
authorAndreas Schwab <schwab@suse.de>
Sat, 17 Sep 2016 09:39:37 +0000 (09:39 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 17 Sep 2016 09:39:37 +0000 (09:39 +0000)
* config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Add cast.
* config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise.

From-SVN: r240214

gcc/ChangeLog
gcc/config/i386/cygming.h
gcc/config/ia64/ia64.h

index daa2619b95b5c24741824fbeb16a9c0f68f563c8..b8a9dab5042a740d7d0f14b798aa8ab3f1241341 100644 (file)
@@ -1,3 +1,8 @@
+2016-09-17  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.h (ASM_OUTPUT_DWARF_OFFSET): Add cast.
+       * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Likewise.
+
 2016-09-16  Eric Botcazou  <ebotcazou@adacore.com>
 
        * recog.c (rest_of_handle_split_after_reload): Delete.
index faf8fa440035602256475f8b51dd6d49e950049e..60e11b481e93a4ad99841b403202aa61e29e79c0 100644 (file)
@@ -110,7 +110,8 @@ along with GCC; see the file COPYING3.  If not see
        fputs ("\t.secrel32\t", FILE);                          \
        assemble_name (FILE, LABEL);                            \
        if ((OFFSET) != 0)                                      \
-         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET)   \
+         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC,           \
+                  (HOST_WIDE_INT) (OFFSET))                    \
        break;                                                  \
       case 8:                                                  \
        /* This is a hack.  There is no 64-bit section relative \
@@ -121,7 +122,8 @@ along with GCC; see the file COPYING3.  If not see
        fputs ("\t.secrel32\t", FILE);                          \
        assemble_name (FILE, LABEL);                            \
        if ((OFFSET) != 0)                                      \
-         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET)   \
+         fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC,           \
+                  (HOST_WIDE_INT) (OFFSET))                    \
        fputs ("\n\t.long\t0", FILE);                           \
        break;                                                  \
       default:                                                 \
index 00516bb9838d6178bdadb0cc1464dd4626b36443..ac0cb864209126c7d34708ccb4d09d398b9d44a1 100644 (file)
@@ -1587,7 +1587,8 @@ do {                                                                      \
     fputs ("@secrel(", FILE);                                  \
     assemble_name (FILE, LABEL);                               \
     if ((OFFSET) != 0)                                         \
-      fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC, OFFSET);     \
+      fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC,              \
+              (HOST_WIDE_INT) (OFFSET));                       \
     fputc (')', FILE);                                         \
   } while (0)