[Bug lto/78529] [7 Regression] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 13 11:43:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Component|tree-optimization |lto
--- Comment #28 from Richard Biener <rguenth at gcc dot gnu.org> ---
>From the description it might be worth to check the behavior when using gold
vs. BFD. But yes, symbols from the standard runtime have long been a problem
with LTO and the way we do linking "twice". OTOH the linker _does_ see the
memset
symbol but it seems to ignore it? And AFAIK the resolution we get from the
linker isn't able to tell us that there's another provider of a symbol.
More information about the Gcc-bugs
mailing list