This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix TM clone drops at LTO time


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?

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]