> On 06/17/2013 09:09 AM, Jan Hubicka wrote: > >also one quick question. I was dumping on when my odr tests fails and only > >case I do not understand is the case where decls_same_for_odr ends up > >comparing > >IDENTIFIER_NODE and TYPE_DECL of the same name. > > Hmm, I would guess that it comes from TYPE_NAME being an identifier > in one case and a decl in another, perhaps because one TU is > compiled as C and the other as C++?
Hmm, firefox combine C and C++ units, but I do not see how C and C++ type can get into the devirutalization machinery. I will debug this. I suppose TYPE_NAME can be considered identical to correspodning IDENTIFIER_NODE, tought? Honza