Re: [PATCH] Fix RTL DCE ICE (PR rtl-optimization/90082)

2019-04-16 Thread Richard Biener
On Tue, 16 Apr 2019, Jakub Jelinek wrote: > Hi! > > Recently I've added an assert that if !can_alter_cfg DCE (fast DCE in that > case) doesn't actually alter the cfg. The following testcase shows > something where it still does. Even when a (const or pure) call doesn't > throw, it could have ED

[PATCH] Fix RTL DCE ICE (PR rtl-optimization/90082)

2019-04-16 Thread Jakub Jelinek
Hi! Recently I've added an assert that if !can_alter_cfg DCE (fast DCE in that case) doesn't actually alter the cfg. The following testcase shows something where it still does. Even when a (const or pure) call doesn't throw, it could have EDGE_ABNORMAL{,_CALL} edges added to setjmp etc. The foll