Release_defs in expand_omp_atomic_fetch_op
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
This commit is contained in:
parent
d69da357f7
commit
0b0521ba46
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
|
||||||
|
|
||||||
* hash-table.h (hash_table::empty): Turn into an inline wrapper
|
* hash-table.h (hash_table::empty): Turn into an inline wrapper
|
||||||
|
|
|
@ -12020,10 +12020,14 @@ expand_omp_atomic_fetch_op (basic_block load_bb,
|
||||||
gcc_assert (gimple_code (gsi_stmt (gsi)) == GIMPLE_OMP_ATOMIC_STORE);
|
gcc_assert (gimple_code (gsi_stmt (gsi)) == GIMPLE_OMP_ATOMIC_STORE);
|
||||||
gsi_remove (&gsi, true);
|
gsi_remove (&gsi, true);
|
||||||
gsi = gsi_last_bb (store_bb);
|
gsi = gsi_last_bb (store_bb);
|
||||||
|
stmt = gsi_stmt (gsi);
|
||||||
gsi_remove (&gsi, true);
|
gsi_remove (&gsi, true);
|
||||||
|
|
||||||
if (gimple_in_ssa_p (cfun))
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue