This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33358] Slow calls through simple member function pointers
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2007 10:37:12 -0000
- Subject: [Bug c++/33358] Slow calls through simple member function pointers
- References: <bug-33358-15073@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-09-09 10:37 -------
Subject: Re: Slow calls through simple member function pointers
On 9 Sep 2007 06:47:40 -0000, dleska at gmail dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
> Is this optimisation not possible in gcc?
Only because the ABI that GCC follows (the IA64 C++ ABI) says
otherwise so we have to follow that.
If you want this optimization, you will need the whole program as even
if there is no inheritence in the current source, there can be in
other places.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33358