From 34319f9aa503cc97a12b9db498c55be0e1fa004c Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 28 May 2015 00:36:08 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6528d42438a..903bd690300 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-27 John David Anglin + + * config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC + instead of "%d" for 'o' operand. + 2015-05-27 Nathan Sidwell PR c++/66270 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 090eeb4a808..5551654c49e 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); -- 2.30.2