This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Aug 2017 05:54:41 +0000
- Subject: [Bug target/81907] memset called when it does not need to be; -mtune=cortex-a9
- Auto-submitted: auto-generated
- References: <bug-81907-4@http.gcc.gnu.org/bugzilla/>
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.