https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128999
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
in phiopt2 we have:
```
<bb 2> [local count: 1073741824]:
if (b_3(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870912]:
_8 = b_3(D) & 1;
<bb 4> [local count: 1073741824]:
# iftmp.3_4 = PHI <0(2),
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff(3)>
_1 = g (iftmp.3_4, n_5(D)); [return slot optimization]
```
Notice _8 is dead. So how it became dead is threadfuill1 happens and threads
the jumps and then there are some dead code, dse does a simple dce (but does
not cleanupcfg afterwards) and leaves behind that _8 is used in a condition.
And then dce removes the other dead code and does a cleanupcfg but leaves
behind _8 being live. And then things just go down hill after that.
I have not looked if we could do a simple dce while doing cleanupcfg I don't
think we can.