Created attachment 23478 [details] reduced testcase. Regression caused by revision 170213 It works with r170142. Attached a reduced testcase. $ gcc -O0 -fgnu-tm testcase.i testcase.i: In function âthreadâ: testcase.i:11:1: internal compiler error: in ipa_tm_decrement_clone_counts, at trans-mem.c:3789 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Please consider it at the highest priority since it happens with the Velox Stack. Patrick Marlier.
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01747.html pending approval
Author: aldyh Date: Mon Feb 28 23:24:57 2011 New Revision: 170578 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170578 Log: PR 47905 * trans-mem.c (ipa_tm_propagate_irr): Do not propagate to blocks outside of a TM region. Added: branches/transactional-memory/gcc/testsuite/gcc.dg/tm/pr47905.c Modified: branches/transactional-memory/gcc/ChangeLog.tm branches/transactional-memory/gcc/trans-mem.c