http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47690
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2011-02-16 16:23:33 UTC --- Author: aldyh Date: Wed Feb 16 16:23:28 2011 New Revision: 170213 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170213 Log: PR 47690 * trans-mem.c (ipa_tm_execute): Do not scan past exit blocks when accumulating BB's. (is_tm_ending_fndecl): Remove static. * tree-cfg.c (is_ctrl_altering_stmt): Add TM ending statements. * tree.h (is_tm_ending_fndecl): New prototype. Added: branches/transactional-memory/gcc/testsuite/gcc.dg/tm/pr47690.c Modified: branches/transactional-memory/gcc/ChangeLog.tm branches/transactional-memory/gcc/trans-mem.c branches/transactional-memory/gcc/tree-cfg.c branches/transactional-memory/gcc/tree.h