C++ PATCH for lto/53808 (devirtualization of defaulted virtual dtor)

Martin Jambor mjambor@suse.cz
Thu Feb 27 16:38:00 GMT 2014


On Thu, Feb 27, 2014 at 04:00:22PM +0100, Richard Biener wrote:
> On Thu, Feb 27, 2014 at 3:51 PM, Jason Merrill <jason@redhat.com> wrote:
> > On 02/27/2014 09:03 AM, Richard Biener wrote:
> >>>
> >>> Jason Merrill <jason@redhat.com> writes:
> >>>>
> >>>> Hmm, I wonder why we aren't devirtualizing that call on ia64.
> >>
> >> I think the vtable lookup sequence is different and nobody cared to adjust
> >>
> >> the gimple matcher to also match the ia64 sequence.
> >
> >
> > Ah.  So xfail on ia64?
> 
> OTOH the g++dg/ipa/devirt-* testcases seem to run fine everywhere?

This is probably the same issue as the one described in
http://gcc.gnu.org/ml/gcc/2012-08/msg00055.html and the subsequent
thread.  The problem however turned out to be slightly more difficult
and I was not interested enough in ia64 to care again.

Martin



More information about the Gcc-patches mailing list