https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106323
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |104611 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this could be even better as using cmp/ccmp on aarch64 than using eor/or really. See bug 104611 comment #1 for that. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104611 [Bug 104611] memcmp/strcmp/strncmp can be optimized when the result is tested for [in]equality with 0 on aarch64