From: Nick Clifton Date: Thu, 17 Mar 2016 10:16:38 +0000 (+0000) Subject: re PR target/70162 ([RX] const_int printing causes wrong code on 32 bit host) X-Git-Tag: upstream/12.2.0~48256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b14bb68cce29823a1993d1dd392efbb8eb3913eb;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00bc1a6..5e8e3fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-03-17 Nick Clifton + + PR target/70162 + * config/rx/rx.c (rx_print_integer): Print negative constants in + decimal. + 2016-03-17 Jakub Jelinek PR target/70261 diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 88cf18c..3a374a0 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -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,