https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81907
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Summary|undefined reference to |memset called when it does
|`memset' |not need to be;
| |-mtune=cortex-a9
Severity|normal |enhancement
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>This is not related to freestanding implementations.
Huh? Since you are not linking against the C library, it has to be.
or you mean this should be optimized not to use memset; different question from
what your summary is about.