[Bug middle-end/48668] [4.6/4.7 regression] COMDAT Group signature not emitted in group

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 5 15:35:00 GMT 2011


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



More information about the Gcc-bugs mailing list