Re: [PATCH] xtensa: Fix PR target/78118

2016-11-01 Thread Max Filippov
On Tue, Nov 1, 2016 at 9:28 AM, augustine.sterl...@gmail.com wrote: > On Mon, Oct 31, 2016 at 11:32 PM, Max Filippov wrote: >> 2016-10-26 Max Filippov >> gcc/ >> * config/xtensa/xtensa-protos.h >> (xtensa_use_return_instruction_p): New prototype. >> * config/xtensa/xten

Re: [PATCH] xtensa: Fix PR target/78118

2016-11-01 Thread augustine.sterl...@gmail.com
On Mon, Oct 31, 2016 at 11:32 PM, Max Filippov wrote: > 2016-10-26 Max Filippov > gcc/ > * config/xtensa/xtensa-protos.h > (xtensa_use_return_instruction_p): New prototype. > * config/xtensa/xtensa.c (xtensa_current_frame_size, > xtensa_callee_save_size): Remove.

[PATCH] xtensa: Fix PR target/78118

2016-10-31 Thread Max Filippov
It started failing after the following commit: 32e90dc6a0cda45 ("PR rtl-optimization/61047"). The change that made xtensa backend go ICE looks completely unrelated, and indeed, the issue is caused by the side effect of compute_frame_size() function call hidden in the INITIAL_ELIMINATION_OFFSET mac