This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[lto][patch] Clear binfo
- From: Rafael Espindola <espindola at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Diego Novillo <dnovillo at google dot com>, Doug Kwan <dougkwan at google dot com>
- Date: Wed, 19 Nov 2008 17:02:38 +0000
- Subject: [lto][patch] Clear binfo
The attached patch fixes the contained testcase. It also introduces a
regression:
g++.dg/opt/devirt1.C
Without the binfo we are unable to devirtualize the call. At this
point in the development of lto I think that trading a performance
regression for an ICE fix is a good choice. Once we have lto fully
working we can start looking at exactly what we want to put on disk to
implement this optimization again.
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047