pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of "%d" for 'o' operand.
authorJohn David Anglin <danglin@gcc.gnu.org>
Thu, 28 May 2015 00:36:08 +0000 (00:36 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 28 May 2015 00:36:08 +0000 (00:36 +0000)
* config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC
instead of "%d" for 'o' operand.

From-SVN: r223790

gcc/ChangeLog
gcc/config/pa/pa.c

index 6528d42..903bd69 100644 (file)
@@ -1,3 +1,8 @@
+2015-05-27  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC
+       instead of "%d" for 'o' operand.
+
 2015-05-27  Nathan Sidwell  <nathan@acm.org>
 
        PR c++/66270
index 090eeb4..5551654 100644 (file)
@@ -5285,7 +5285,7 @@ pa_print_operand (FILE *file, rtx x, int code)
     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);