[Bug tree-optimization/56572] GCC generates non-optimal transactional code when inlining nested transaction.

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 9 18:34:00 GMT 2014


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.



More information about the Gcc-bugs mailing list