[Bug tree-optimization/103356] bool0 == ~bool1 should simplify to bool1 ^ bool0

2022-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103356 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/103356] bool0 == ~bool1 should simplify to bool1 ^ bool0

2022-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103356 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:f9378e3cc390f9bcc310ce206c6773a817aff2ca commit r13-4311-gf9378e3cc390f9bcc310ce206c6773a817aff2ca Author: Andrew Pinski Date: Sa

[Bug tree-optimization/103356] bool0 == ~bool1 should simplify to bool1 ^ bool0

2022-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103356 --- Comment #2 from Andrew Pinski --- Note for: bool f(bool a, bool b) { b = !b; return a!=b; } We do the correct thing since r13-1779-g375668e0508fbe.

[Bug tree-optimization/103356] bool0 == ~bool1 should simplify to bool1 ^ bool0

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103356 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned