0009-microblaze-pr65649.diff 829 B

12345678910111213141516171819202122
  1. diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
  2. index 9a4a287be23..60aadaf51f7 100644
  3. --- a/gcc/config/microblaze/microblaze.c
  4. +++ b/gcc/config/microblaze/microblaze.c
  5. @@ -2399,7 +2399,7 @@ print_operand (FILE * file, rtx op, int letter)
  6. unsigned long value_long;
  7. REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (op),
  8. value_long);
  9. - fprintf (file, HOST_WIDE_INT_PRINT_HEX, value_long);
  10. + fprintf (file, "0x%lx", value_long);
  11. }
  12. else
  13. {
  14. @@ -2458,7 +2458,7 @@ print_operand (FILE * file, rtx op, int letter)
  15. print_operand_address (file, XEXP (op, 0));
  16. }
  17. else if (letter == 'm')
  18. - fprintf (file, HOST_WIDE_INT_PRINT_DEC, (1L << INTVAL (op)));
  19. + fprintf (file, "%ld", (1L << INTVAL (op)));
  20. else
  21. output_addr_const (file, op);
  22. }