On 08/23/2013 10:51 AM, Jan Hubicka wrote:
Sadly we ICE here because BINFO of type is not built yet.
I tried to move the code after xref_binfos and it does seem to lead to errors
while building libstdc++ PCH.  Any idea what to do here?

If it's causing trouble, let's just put the flag on the type.

here I now can devirtualize b->foo into A because A is in anonymous namespace.
We however won't remove b because it is externally visible.  Is it valid to
bring b local based on fact that A is anonymous and thus no valid C++ program
can read it?

Hmm, determine_visibility ought to be doing that already.

Jason

Reply via email to