http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56801
--- Comment #4 from Patrick Marlier <patrick.marlier at gmail dot com> --- Created attachment 30490 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30490&action=edit reduced testcase. I am now able to reproduce the ICE even with FSF 4.7.3 (it was due to different included headers). Attached the preprocessed testcase. $ gcc-4.7 -O1 -fgnu-tm -pthread -S -Wall -Wfatal-errors testcase2.i testcase2.i: In function ‘foo’: testcase2.i:5:6: internal compiler error: in expand_call_tm, at trans-mem.c:2280