http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51443
Bug #: 51443 Summary: [trans-mem] internal compiler error in expand_block_tm of trans-mem.c Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: patrick.marl...@gmail.com CC: al...@gcc.gnu.org, r...@gcc.gnu.org, torv...@gcc.gnu.org Created attachment 26011 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26011 testcase with -gnu-tm -O1 I report this bug which is very close to some previous one (PR46269/PR47606). In this testcase, it fails to detect the block as irrevocable due to the asm and thus failed in expand_block_tm. Actually the way to mark a block irrevocable in a transaction_callable is a bit obscure to me. Thanks. Patrick Marlier.