[patch] fix TM clone drops at LTO time
Aldy Hernandez
aldyh@redhat.com
Mon Jan 23 17:16:00 GMT 2012
While working on PR51698, I've noticed the LTO/TM rabbit hole goes much
deeper.
The compiler is dropping transactional clones with -flto because the
externally_visible bit is unset for clones. This is so because
cgraph_copy_node_for_versioning unconditionally zaps it. I have fixed
the TM infrastructure to set the bit on the clones if the original
version had it set.
This patch will be needed to get PR51698 and LTO working with TM.
OK?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: curr
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120123/1b900c7e/attachment.ksh>
More information about the Gcc-patches
mailing list