Re: [PATCH] ipa-fnsummary: Fix ICE with switch predicates [PR96130]

2020-07-13 Thread Martin Jambor
On Fri, Jul 10 2020, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs since r10-3199. > There is a switch with default label, where the controlling expression has > range just 0..7 and there are case labels for all those 8 values, but > nothing has yet optimized away the default. > Since

[PATCH] ipa-fnsummary: Fix ICE with switch predicates [PR96130]

2020-07-10 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs since r10-3199. There is a switch with default label, where the controlling expression has range just 0..7 and there are case labels for all those 8 values, but nothing has yet optimized away the default. Since r10-3199, set_switch_stmt_execution_predicate sets the