Re: [PATCH] bb-reorder: Fix for ICEs caused by 69ca5f3a9882

2020-09-15 Thread Segher Boessenkool
On Tue, Sep 15, 2020 at 08:32:54AM +0200, Richard Biener wrote: > On Tue, Sep 15, 2020 at 12:06 AM Segher Boessenkool > wrote: > > > > After the previous patch we are left with an unreachable BB. This will > > ICE if either we have -fschedule-fusion, or we do not have peephole2. > > > > This fixe

Re: [PATCH] bb-reorder: Fix for ICEs caused by 69ca5f3a9882

2020-09-14 Thread Richard Biener via Gcc-patches
On Tue, Sep 15, 2020 at 12:06 AM Segher Boessenkool wrote: > > After the previous patch we are left with an unreachable BB. This will > ICE if either we have -fschedule-fusion, or we do not have peephole2. > > This fixes it. Okay for trunk? Just delete_unreachable_blocks () would have worked as

[PATCH] bb-reorder: Fix for ICEs caused by 69ca5f3a9882

2020-09-14 Thread Segher Boessenkool
After the previous patch we are left with an unreachable BB. This will ICE if either we have -fschedule-fusion, or we do not have peephole2. This fixes it. Okay for trunk? Segher 2020-09-14 Segher Boessenkool PR rtl-optimization/96475 * bb-reorder.c (duplicate_computed_go