aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.c
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2015-05-28 00:36:08 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2015-05-28 00:36:08 +0000
commit34319f9aa503cc97a12b9db498c55be0e1fa004c (patch)
tree34257351b2d05cde5cc6a3105d6f29dcbcf231a4 /gcc/config/pa/pa.c
parent854440ccdba8eb981dfed1df555587fc3b6756a5 (diff)
downloadgcc-34319f9aa503cc97a12b9db498c55be0e1fa004c.zip
gcc-34319f9aa503cc97a12b9db498c55be0e1fa004c.tar.gz
gcc-34319f9aa503cc97a12b9db498c55be0e1fa004c.tar.bz2
pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of "%d" for 'o' operand.
* config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of "%d" for 'o' operand. From-SVN: r223790
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r--gcc/config/pa/pa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index 090eeb4..5551654 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -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);