Re: [PATCH] Fix gimple slsr throwing call handling (PR tree-optimization/78777)

2016-12-12 Thread Jeff Law
On 12/12/2016 12:20 PM, Jakub Jelinek wrote: Hi! The strength reduction has code to emit stuff before or after the last insn in a bb, but uses a wrong predicate to decide where to put it, is_ctrl_stmt covers only a subset of statements that must end a bb. Fixed thusly, bootstrapped/regtested on

[PATCH] Fix gimple slsr throwing call handling (PR tree-optimization/78777)

2016-12-12 Thread Jakub Jelinek
Hi! The strength reduction has code to emit stuff before or after the last insn in a bb, but uses a wrong predicate to decide where to put it, is_ctrl_stmt covers only a subset of statements that must end a bb. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 20