diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2013-11-06 13:11:14 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2013-11-06 13:11:14 +0000 |
commit | 7783daa76cdf6a2a71775b41269b07039b0247a3 (patch) | |
tree | 412636d3b3527f6788001a096f9c0362869817f5 /gcc/tree-ssa-loop-im.c | |
parent | 3f5c390ddd57a9407fce9b7a471d01972e916367 (diff) | |
download | gcc-7783daa76cdf6a2a71775b41269b07039b0247a3.zip gcc-7783daa76cdf6a2a71775b41269b07039b0247a3.tar.gz gcc-7783daa76cdf6a2a71775b41269b07039b0247a3.tar.bz2 |
gimple.h (block_in_transaction): Move to basic-block.h and rename.
* gimple.h (block_in_transaction): Move to basic-block.h and rename.
(gimple_in_transaction): Use bb_in_transaction.
* basic-block.h (bb_in_transaction): Relocate here and rename.
* tree-ssa-loop-im.c (execute_sm): Use bb_in_transaction.
From-SVN: r204455
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
-rw-r--r-- | gcc/tree-ssa-loop-im.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index 0bcb520..339e7f2 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -1948,7 +1948,7 @@ execute_sm (struct loop *loop, vec<edge> exits, mem_ref_p ref) fmt_data.orig_loop = loop; for_each_index (&ref->mem.ref, force_move_till, &fmt_data); - if (block_in_transaction (loop_preheader_edge (loop)->src) + if (bb_in_transaction (loop_preheader_edge (loop)->src) || !PARAM_VALUE (PARAM_ALLOW_STORE_DATA_RACES)) multi_threaded_model_p = true; |