2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-25 13:01:16 +08:00

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
This commit is contained in:
Nick Clifton 2016-03-17 10:16:38 +00:00 committed by Nick Clifton
parent 5adb7c859d
commit b14bb68cce
2 changed files with 7 additions and 1 deletions
gcc
ChangeLog
config/rx

@ -1,3 +1,9 @@
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>
PR target/70261

@ -467,7 +467,7 @@ rx_print_operand_address (FILE * file, machine_mode /*mode*/, rtx addr)
static void
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);
else
fprintf (file,