aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-05-29 23:02:36 +0000
committerMax Filippov <jcmvbkbc@gcc.gnu.org>2017-05-29 23:02:36 +0000
commit3904010d5b65338b03dd5203ca2c2a26bb6aeb46 (patch)
treee5c8121f813592baedd7678849e0d042632f705f /gcc/cfgexpand.c
parent4dbe373cfc4268284de8bb4e78e61294c381c518 (diff)
downloadgcc-3904010d5b65338b03dd5203ca2c2a26bb6aeb46.zip
gcc-3904010d5b65338b03dd5203ca2c2a26bb6aeb46.tar.gz
gcc-3904010d5b65338b03dd5203ca2c2a26bb6aeb46.tar.bz2
gcc: xtensa: fix fprintf format specifiers
HOST_WIDE_INT may not be long as assumed in print_operand and xtensa_emit_call. Use HOST_WIDE_INT_PRINT_DEC/HOST_WIDE_INT_PRINT_HEX format strings instead of %ld/0x%lx. This fixes incorrect assembly code generation by the compiler running on armhf host. 2017-05-29 Max Filippov <jcmvbkbc@gmail.com> gcc/ * config/xtensa/xtensa.c (xtensa_emit_call): Use HOST_WIDE_INT_PRINT_HEX instead of 0x%lx format string. (print_operand): Use HOST_WIDE_INT_PRINT_DEC instead of %ld format string. From-SVN: r248586
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions