[lto][patch] Clear binfo

Rafael Espindola espindola@google.com
Wed Nov 19 17:06:00 GMT 2008


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



More information about the Gcc-patches mailing list