[Bug tree-optimization/98954] ((X << CST0) & CST1) == 0 is not optimized to 0 == (X & (CST1 >> CST0))
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 1 00:54:26 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98954
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=64992
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is actually the general case of PR 64992 where CST1 in that case is just a
mask of all 1s.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992#c8
More information about the Gcc-bugs
mailing list