https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95887
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=95189,
| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=12086
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
g:
.LFB1:
.cfi_startproc
movzbl (%rdi), %eax
ret
.cfi_endproc
```
is wrong code which was PR 95189.
As far as the optimization of memcmp here goes that is tracked as PR 12086.
So closing as invalid.