2016-01-16 Tom de Vries <tom@codesourcery.com>
* omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
From-SVN: r232472
+2016-01-16 Tom de Vries <tom@codesourcery.com>
+
+ * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
+
2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
* hash-table.h (hash_table::empty): Turn into an inline wrapper
gcc_assert (gimple_code (gsi_stmt (gsi)) == GIMPLE_OMP_ATOMIC_STORE);
gsi_remove (&gsi, true);
gsi = gsi_last_bb (store_bb);
+ stmt = gsi_stmt (gsi);
gsi_remove (&gsi, true);
if (gimple_in_ssa_p (cfun))
- update_ssa (TODO_update_ssa_no_phi);
+ {
+ release_defs (stmt);
+ update_ssa (TODO_update_ssa_no_phi);
+ }
return true;
}