This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]