[RFC] COMDAT Safe Module Level Multi versioning

Xinliang David Li davidxl@google.com
Tue May 19 16:12:00 GMT 2015


>
> Hm.  But which options are unsafe?  Also wouldn't it be better to simply
> _not_ have unsafe options produce comdats but always make local clones
> for them (thus emit the comdat with "unsafe" flags dropped)?

Always localize comdat functions may lead to text size increase. It
does not work if the comdat function is a virtual function for
instance.

David


>
> Richard.
>
>>
>> Thanks
>> Sri



More information about the Gcc-patches mailing list