aboutsummaryrefslogtreecommitdiff
path: root/gcc/trans-mem.c
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@imgtec.com>2013-05-16 17:09:40 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2013-05-16 17:09:40 +0000
commitf14540b6352b1a164ef79ae36d1ae1463efdac46 (patch)
tree0417eb55c06e17bb692b965567279eb2722fc0d5 /gcc/trans-mem.c
parent45f9820f0075149dcbbe71eac97bf31993e9f9df (diff)
downloadgcc-f14540b6352b1a164ef79ae36d1ae1463efdac46.zip
gcc-f14540b6352b1a164ef79ae36d1ae1463efdac46.tar.gz
gcc-f14540b6352b1a164ef79ae36d1ae1463efdac46.tar.bz2
cfghooks.c (copy_bbs): Add update_dominance argument.
2013-05-16 Steve Ellcey <sellcey@imgtec.com> * cfghooks.c (copy_bbs): Add update_dominance argument. * cfghooks.h (copy_bbs): Update prototype. * tree-cfg.c (gimple_duplicate_sese_region): Add update_dominance argument. * tree-flow.h (gimple_duplicate_sese_region): Update prototype. * tree-ssa-loop-ch.c (copy_loop_headers): Update gimple_duplicate_sese_region call. * tree-vect-loop-manip.c (slpeel_tree_duplicate_loop_to_edge_cfg): Update copy_bbs call. * cfgloopmanip.c (duplicate_loop_to_header_edge): Ditto. * trans-mem.c (ipa_uninstrument_transaction): Ditto. From-SVN: r198980
Diffstat (limited to 'gcc/trans-mem.c')
-rw-r--r--gcc/trans-mem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c
index 5cb8286..c66278c 100644
--- a/gcc/trans-mem.c
+++ b/gcc/trans-mem.c
@@ -3978,7 +3978,8 @@ ipa_uninstrument_transaction (struct tm_region *region,
int n = queue.length ();
basic_block *new_bbs = XNEWVEC (basic_block, n);
- copy_bbs (queue.address (), n, new_bbs, NULL, 0, NULL, NULL, transaction_bb);
+ copy_bbs (queue.address (), n, new_bbs, NULL, 0, NULL, NULL, transaction_bb,
+ true);
edge e = make_edge (transaction_bb, new_bbs[0], EDGE_TM_UNINSTRUMENTED);
add_phi_args_after_copy (new_bbs, n, e);