Re: [PATCH] Punt on possibly throwing assignments in SLSR (PR tree-optimization/83605)

2018-01-05 Thread Richard Biener
On Thu, 4 Jan 2018, Jakub Jelinek wrote: > Hi! > > While the testcase could be perhaps handled with some extra effort (the > issue there is just CSE of an early possibly throwing trapping addition, > so maybe_cleanup_or_replace_eh_stmt + gimple_purge_dead_eh_edges + > TODO_cleanup_cfg might do

Re: [PATCH] Punt on possibly throwing assignments in SLSR (PR tree-optimization/83605)

2018-01-04 Thread Bill Schmidt
Hi Jakub, Okay by me. Thanks for fixing this! Sorry I missed this bug on the list. Feel free to CC me on any SLSR bugs. -- Bill > On Jan 4, 2018, at 3:23 PM, Jakub Jelinek wrote: > > Hi! > > While the testcase could be perhaps handled with some extra effort (the > issue

[PATCH] Punt on possibly throwing assignments in SLSR (PR tree-optimization/83605)

2018-01-04 Thread Jakub Jelinek
Hi! While the testcase could be perhaps handled with some extra effort (the issue there is just CSE of an early possibly throwing trapping addition, so maybe_cleanup_or_replace_eh_stmt + gimple_purge_dead_eh_edges + TODO_cleanup_cfg might do the job, but I'm afraid the pass wouldn't know what to