This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for lto/53808 (devirtualization of defaulted virtual dtor)
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Thu, 27 Feb 2014 15:03:11 +0100
- Subject: Re: C++ PATCH for lto/53808 (devirtualization of defaulted virtual dtor)
- Authentication-results: sourceware.org; auth=none
- References: <530CE6A1 dot 2010003 at redhat dot com> <mvmy50w4yeq dot fsf at hawking dot suse dot de> <530F426A dot 3030603 at redhat dot com> <mvmppm84q7h dot fsf at hawking dot suse dot de>
On Thu, Feb 27, 2014 at 2:53 PM, Andreas Schwab <schwab@suse.de> wrote:
> Jason Merrill <jason@redhat.com> writes:
>
>> Hmm, I wonder why we aren't devirtualizing that call on ia64. Does it
>> work with -O3?
>
> That doesn't change anything fundamentally.
I think the vtable lookup sequence is different and nobody cared to adjust
the gimple matcher to also match the ia64 sequence.
Richard.
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."