https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108166
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.3
Last reconfirmed| |2022-12-18
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
# iftmp.2_17 = PHI <iftmp.2_24(5), 0(4)>
if (iftmp.2_17 != 0)
goto <bb 8>; [INV]
else
goto <bb 7>; [INV]
<bb 7> :
<bb 8> :
# iftmp.1_16 = PHI <iftmp.2_17(6), 8(7)>
_7 = _4 > iftmp.1_16;
_8 = (int) _7;
c = _8;
D.3392 ={v} {CLOBBER(eol)};
D.3393 ={v} {CLOBBER(eol)};
_11 = iftmp.2_17 != 0;
And then _11 gets replaced with:
_6 = iftmp.2_10 != 0;
I can't figure out why though.