From bcfa200d87d3ebb775f7ee29b9e6f81a474cdb7a Mon Sep 17 00:00:00 2001 From: danglin Date: Thu, 28 May 2015 00:36:08 +0000 Subject: [PATCH] * config/pa/pa.c (pa_print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of "%d" for 'o' operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223790 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.11.4.GIT