http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56572
--- Comment #9 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Created attachment 31787 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31787&action=edit removal of transactions from clones This is a patch that fixes part of the problem, but as discussed in the thread, is not sufficient since the uninstrumented code path will still end up containing a nested transaction after inlining. I am attaching this patch for further reference when this PR is picked up again. See thread for more details.