http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48668
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-05-05 15:30:32 UTC --- Hi, I am not 100% I understand the problem. For 4.6 we indeed probably should go with reverting to prevous order. We are trying to output both the function itself and its thunk into single named comdat group. The difference is that before patch we first output the function itself and then the thunk. With the patch we output stuff other way around. So the signature always come from the first symbol within the group and there is no way to output the thunk first (since its symbol is different) and the function later? I don't see how the symbol is outside of the group given that both symbols came into same comdat section. Honza
