Commit b14bb68c by Nick Clifton Committed by Nick Clifton

re PR target/70162 ([RX] const_int printing causes wrong code on 32 bit host)

	PR target/70162
	* config/rx/rx.c (rx_print_integer): Print negative constants in
	decimal.

From-SVN: r234280
parent 5adb7c85
2016-03-17 Nick Clifton <nickc@redhat.com>
PR target/70162
* config/rx/rx.c (rx_print_integer): Print negative constants in
decimal.
2016-03-17 Jakub Jelinek <jakub@redhat.com> 2016-03-17 Jakub Jelinek <jakub@redhat.com>
PR target/70261 PR target/70261
......
...@@ -467,7 +467,7 @@ rx_print_operand_address (FILE * file, machine_mode /*mode*/, rtx addr) ...@@ -467,7 +467,7 @@ rx_print_operand_address (FILE * file, machine_mode /*mode*/, rtx addr)
static void static void
rx_print_integer (FILE * file, HOST_WIDE_INT val) rx_print_integer (FILE * file, HOST_WIDE_INT val)
{ {
if (IN_RANGE (val, -64, 64)) if (val < 64)
fprintf (file, HOST_WIDE_INT_PRINT_DEC, val); fprintf (file, HOST_WIDE_INT_PRINT_DEC, val);
else else
fprintf (file, fprintf (file,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment