Re: [PATCH] Make devirtualization use BINFO_VTABLE instead of BINFO_VIRTUALS

2011-09-02 Thread Jan Hubicka
> Hi, > > On Thu, Sep 01, 2011 at 08:52:30PM +0200, Jan Hubicka wrote: > > > - Nevertheless, this method of devirtualization cannot automatically > > > de-thunkize this-adjusting thunks and newly direct calls to them > > > cannot be inlined because the inliner does not have this capability > >

Re: [PATCH] Make devirtualization use BINFO_VTABLE instead of BINFO_VIRTUALS

2011-09-02 Thread Martin Jambor
Hi, On Thu, Sep 01, 2011 at 08:52:30PM +0200, Jan Hubicka wrote: > > - Nevertheless, this method of devirtualization cannot automatically > > de-thunkize this-adjusting thunks and newly direct calls to them > > cannot be inlined because the inliner does not have this capability > > now. Thi

Re: [PATCH] Make devirtualization use BINFO_VTABLE instead of BINFO_VIRTUALS

2011-09-02 Thread Richard Guenther
On Thu, Sep 1, 2011 at 8:52 PM, Jan Hubicka wrote: >> - Nevertheless, this method of devirtualization cannot automatically >>   de-thunkize this-adjusting thunks and newly direct calls to them >>   cannot be inlined because the inliner does not have this capability >>   now.  This is in fact a reg

Re: [PATCH] Make devirtualization use BINFO_VTABLE instead of BINFO_VIRTUALS

2011-09-01 Thread Jan Hubicka
> - Nevertheless, this method of devirtualization cannot automatically > de-thunkize this-adjusting thunks and newly direct calls to them > cannot be inlined because the inliner does not have this capability > now. This is in fact a regression from 4.6, and testcases > ivinline-7.C and ivi