[Bug tree-optimization/80588] GCC can't simplify static inline function with xor/xnor

2020-12-17 Thread sucicf1 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80588 Ivan Sučić changed: What|Removed |Added CC||sucicf1 at outlook dot com --- Comment #2

[Bug c++/98322] optimizes to false instead true

2020-12-16 Thread sucicf1 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98322 Ivan Sučić changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #3 from Ivan Sučić --- S

[Bug c++/98322] New: optimizes to false instead true

2020-12-16 Thread sucicf1 at outlook dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: sucicf1 at outlook dot com Target Milestone: --- bool always_true (bool a, bool b) { return (a == b) == (~a ^ b); } is optimized to xorl%eax, %eax ret instead return 1.

[Bug tree-optimization/91882] boolean XOR tautology missed optimisation

2020-08-05 Thread sucicf1 at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91882 --- Comment #5 from Ivan Sučić --- I have added in match.pd a simplify. But for unknown reason it doesn't get applied. Anybody knows why?

[Bug tree-optimization/91882] boolean XOR tautology missed optimisation

2020-08-05 Thread sucicf1 at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91882 Ivan Sučić changed: What|Removed |Added CC||sucicf1 at outlook dot com --- Comment #4