Re: [PATCH] gcc: xtensa: fix fprintf format specifiers

2017-05-29 Thread Max Filippov
On Mon, May 29, 2017 at 9:08 AM, augustine.sterl...@gmail.com wrote: > On Mon, May 29, 2017 at 4:11 AM, Max Filippov wrote: >> 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

Re: [PATCH] gcc: xtensa: fix fprintf format specifiers

2017-05-29 Thread augustine.sterl...@gmail.com
On Mon, May 29, 2017 at 4:11 AM, Max Filippov wrote: > 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 runnin

[PATCH] gcc: xtensa: fix fprintf format specifiers

2017-05-29 Thread Max Filippov
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-28 Max Filippov gcc/ * co