* trans-mem.c (expand_block_tm): Ignore clobbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181619
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-11-22 Michael Matz <matz@suse.de>
+
+ PR other/51125
+ * trans-mem.c (expand_block_tm): Ignore clobbers.
+
2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin.h (ENDFILE_SPEC): New.
{
case GIMPLE_ASSIGN:
/* Only memory reads/writes need to be instrumented. */
- if (gimple_assign_single_p (stmt))
+ if (gimple_assign_single_p (stmt)
+ && !gimple_clobber_p (stmt))
{
expand_assign_tm (region, &gsi);
continue;