Re: [PATCH] Fix RTL DCE (PR target/89188)

2019-02-05 Thread Richard Biener
On February 5, 2019 4:32:29 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >RTL DCE is called in different modes, sometimes it is allowed to alter >cfg, >in other cases it is not. The following testcase ICEs because when it >is >not allowed to alter cfg (combiner's df_analyze) we remove a noop move >

[PATCH] Fix RTL DCE (PR target/89188)

2019-02-05 Thread Jakub Jelinek
Hi! RTL DCE is called in different modes, sometimes it is allowed to alter cfg, in other cases it is not. The following testcase ICEs because when it is not allowed to alter cfg (combiner's df_analyze) we remove a noop move that was considered to potentially throw and that made a bb unreachable (