diff options
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index eac7027..088fc7b 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -6229,6 +6229,8 @@ gimple_duplicate_bb (basic_block bb, copy_bb_data *id) DECL_NONSHAREABLE (base) = 1; } + /* If requested remap dependence info of cliques brought in + via inlining. */ if (id) for (unsigned i = 0; i < gimple_num_ops (copy); ++i) { @@ -6242,7 +6244,7 @@ gimple_duplicate_bb (basic_block bb, copy_bb_data *id) op = TREE_OPERAND (op, 0); if ((TREE_CODE (op) == MEM_REF || TREE_CODE (op) == TARGET_MEM_REF) - && MR_DEPENDENCE_CLIQUE (op) != 0) + && MR_DEPENDENCE_CLIQUE (op) > 1) { if (!id->dependence_map) id->dependence_map = new hash_map<dependence_hash, |