This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR 46053] Devirtualization and thunks revisited
Martin Jambor <mjambor@suse.cz> writes:
>
> In fact, IPA passes get direct calls to thunks horribly wrong. I have
> just added a loop to main in testsuite/g++.dg/torture/pr45699.C so
> that gcc attempts to inline the direct call to thunk and I got aborts
> caused by ipa-cp and ipa-inline (when enabling either or both).
At least I found devirtualization doesn't even work for very simple C
pointers, see PR45631
-Andi
--
ak@linux.intel.com -- Speaking for myself only.