[Bug tree-optimization/98709] gcc optimizes bitwise operations, but doesn't optimize logical ones
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Aug 1 18:17:44 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98709
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Depends on| |101706
Last reconfirmed| |2021-08-01
Component|middle-end |tree-optimization
Status|UNCONFIRMED |NEW
Severity|normal |enhancement
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
I noticed the ~(a^b) issue the other day (not even knowing about this bug) and
filed PR 101706 for that :)
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101706
[Bug 101706] bool0^bool1^1 -> bool0 == bool1
More information about the Gcc-bugs
mailing list