[Bug tree-optimization/111148] Missing boolean optimizations due to comparisons

2025-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48 Bug 48 depends on bug 118483, which changed state. Bug 118483 Summary: [12/13/14/15 Regression] Missed optimization due to cast being used more than once https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118483 What|Removed

[Bug tree-optimization/111148] Missing boolean optimizations due to comparisons

2025-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48 Andrew Pinski changed: What|Removed |Added Depends on||118483 --- Comment #3 from Andrew Pinsk

[Bug tree-optimization/111148] Missing boolean optimizations due to comparisons

2023-09-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48 --- Comment #2 from Andrew Pinski --- The one which I had missed: _Bool f(int x, int y, int w, int z) { _Bool a = z == w; _Bool b = x == y; return (a & !b) | (a ^ b); // a ^ b }

[Bug tree-optimization/111148] Missing boolean optimizations due to comparisons

2023-09-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48 --- Comment #1 from Andrew Pinski --- Note f was done in r14-3528 .

[Bug tree-optimization/111148] Missing boolean optimizations due to comparisons

2023-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-08-25 Ever confirmed|0