https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103647
--- Comment #3 from Richard Biener ---
fab is a bit late for this part of memcmp folding I guess, I'd have expected
that to happen in generic folding like when we inline memcpy. It seems it's
actually the strlen pass that inlines the compare.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103647
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103647
--- Comment #1 from Andrew Pinski ---
well f should be optimized to return true while g should be optimized to return
false.