This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24729] function calls created by builtins do not make use of inline definitions
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2006 13:33:32 -0000
- Subject: [Bug middle-end/24729] function calls created by builtins do not make use of inline definitions
- References: <bug-24729-578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from hubicka at gcc dot gnu dot org 2006-04-30 13:33 -------
This is probably won't fix as well. The problem is that calls to builtins in
general can be produced arbitrarily late in the compilation process (before RTL
expansion).
We might try to do limited inliner pass specializing to extern inlines late in
compilation but at the moment this is undoable because at that moment we are in
SSA and having extern inlines released from memory.
On IPA branch we can get further but with all the aliasing datastructures built
plus the fact that extern inline builtins might in general have totally
inexpected behaviour, I think it is rather dangerous to implement.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24729