This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/63215] LTO causes symbols for builtin functions to be omitted from object files
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Sep 2014 08:04:31 +0000
- Subject: [Bug lto/63215] LTO causes symbols for builtin functions to be omitted from object files
- Auto-submitted: auto-generated
- References: <bug-63215-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63215
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, we can easily distinguish them by seeing whether a definition is
available.
That is, symbols with a definition should _always_ be output? I don't see
any difficulties with builtin handling in general (though we probably should
stop streaming builtins specially so we retain as builtin what was a builtin
during compile-time). tree merging should happily merge equal builtin
decls (and we compare them by function code anyway).