bb-reorder: Fix for ICEs caused by 69ca5f3a9882
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 14 Sep 2020 18:19:47 +0000 (18:19 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Tue, 15 Sep 2020 13:18:04 +0000 (13:18 +0000)
commitbab581381681813ab3ccd007195777c1f816e656
tree81a05638cc76bb2b90ca1781584dd1fc9b0ea8a7
parentc9de716a59c873859df3b3e1fbb993200fce5a73
bb-reorder: Fix for ICEs caused by 69ca5f3a9882

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.

2020-09-15  Segher Boessenkool  <segher@kernel.crashing.org>

PR rtl-optimization/96475
* bb-reorder.c (duplicate_computed_gotos): If we did anything, run
cleanup_cfg.
gcc/bb-reorder.c