[Bug tree-optimization/113131] `((A&B)^C)|B` should be simplified to `C | B`

2024-07-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113131 --- Comment #2 from Andrew Pinski --- ``` int f(int A, int B, int C) { return ((A&B)^C)|B; // C|B } int f1(int A, int B, int C) { return ((A|B)^C)|B; // (C^A)|B } int f2(int A, int B, int C) { return ((A^B)^C)|B; // (C^A)|B } int f3(i

[Bug tree-optimization/113131] `((A&B)^C)|B` should be simplified to `C | B`

2023-12-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113131 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-12-25 Status|UNCONFIRM