The attached change fixes a build error in stage2 on hppa.

Tested on hppa64-hp-hpux11.11 with no regressions.  Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2015-05-27  John David Anglin  <dang...@gcc.gnu.org>

        * config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC
        instead of "%d" for 'o' operand.

Index: config/pa/pa.c
===================================================================
--- config/pa/pa.c      (revision 223644)
+++ config/pa/pa.c      (working copy)
@@ -5285,7 +5289,7 @@
     case 'o':
       gcc_assert (GET_CODE (x) == CONST_INT
                  && (INTVAL (x) == 1 || INTVAL (x) == 2 || INTVAL (x) == 3));
-      fprintf (file, "%d", INTVAL (x));
+      fprintf (file, HOST_WIDE_INT_PRINT_DEC, INTVAL (x));
       return;
     case 'O':
       gcc_assert (GET_CODE (x) == CONST_INT && exact_log2 (INTVAL (x)) >= 0);

Reply via email to