http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53008
--- Comment #5 from Patrick Marlier <patrick.marlier at gmail dot com> 2012-05-15 22:23:54 UTC --- Created attachment 27412 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27412 testcase for gcc testsuite The problem is not into libitm. Attached a testcase for testsuite (gcc/testsuite/gcc.dg/tm/indirect-3.c). Note that with your patch, the tm testsuite fails. pr51516.C fails because the original function is output and not only the clone (only the clone is required). I am not sure the way to properly fix it. Thanks for having a look at the problem! -- Patrick Marlier