Re: [PATCH] Fix ICE in fixup_abnormal_edges (PR rtl-optimization/88018)

2018-11-15 Thread Richard Biener
On Thu, 15 Nov 2018, Jakub Jelinek wrote: > Hi! > > On the following testcase, we have a call (not marked noreturn), which can > throw, followed immediately by __builtin_unreachable (), so it effectively > is noreturn in this particular call site (i.e. if it returns, it is UB). > In RTL this is r

[PATCH] Fix ICE in fixup_abnormal_edges (PR rtl-optimization/88018)

2018-11-14 Thread Jakub Jelinek
Hi! On the following testcase, we have a call (not marked noreturn), which can throw, followed immediately by __builtin_unreachable (), so it effectively is noreturn in this particular call site (i.e. if it returns, it is UB). In RTL this is represented by the corresponding bb having just EH edge