http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699
--- Comment #11 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-10-08 17:57:11 UTC --- Created attachment 21998 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21998 proposed patch But fortunately BINFOs contain the delta and so we can find the appropriate thunk in the call graph. I'm attaching an untested proposed fix which seems to work on the testcase. Obviously I need to clean it up a little bit and will also try to make a simple testcase.