https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111294

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> In .optimized we have:
>   <bb 4> [local count: 118111600]:
>   # _31 = PHI <5(2), 0(3)>
>   _6 = (int) a.9_28;
>   _8 = _31 <= 3;
>   _9 = (int) _8;
>   if (_6 != _9)
>     goto <bb 5>; [66.00%]
>   else
>     goto <bb 6>; [34.00%]
> 
> Except nothing optimizes _8 into the phi post pre (note _31 is only used in
> the definition of _8 even).

But optimizing that does not help here.

Someone who understands jump threading should look into this.

Reply via email to