This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/58203] memset/memcpy are discarded with -flto
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Sep 2016 10:09:41 +0000
- Subject: [Bug lto/58203] memset/memcpy are discarded with -flto
- Auto-submitted: auto-generated
- References: <bug-58203-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58203
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
At present the runtime functions are not supposed to be LTOed, because
references to them may appear late in the codegen. I suppose things could work
with explicit "used" attribute.