https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122005
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>And yet it doesn't recognize the `(x > 0) && (x & (x - 1) == 0)` idiom above
>and optimize accordingly, hence this feature request.
Yes this part is a dup of bug 94787.
>so I can't tell which version is better.
It depends on if the branch is predictable.
*** This bug has been marked as a duplicate of bug 94787 ***