https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20083
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |96923
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like only f is broken now.
in phiopt3:
_8 = i_4(D) != 0;
_9 = (int) _8;
if (j_5(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
<bb 4> [local count: 1073741824]:
# k_2 = PHI <_9(2), 1(3)>
if (l_6(D) != 0)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 5> [local count: 536870913]:
<bb 6> [local count: 1073741824]:
# k_3 = PHI <k_2(4), 1(5)>
Hmm, this looks like it could be fixed with PR 96923. I will test it again
once I fix that one.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96923
[Bug 96923] Failure to optimize a select-related bool pattern to or+not