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
This commit is contained in:
John David Anglin 2015-05-28 00:36:08 +00:00
parent 854440ccdb
commit 34319f9aa5
2 changed files with 6 additions and 1 deletions

View 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

View 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);