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
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
++
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.
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?
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