aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2006-06-19 14:33:46 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2006-06-19 14:33:46 +0000
commit46b86adcdc8bdf4f49df1b52de41eefd9a1afd60 (patch)
treef7538558f1fde777988a78b4c1ca0c7d6194fb01 /gcc/tree-cfg.c
parent4307d0dbf9a4ad8923df89e857bbe09a8b5edc20 (diff)
downloadgcc-46b86adcdc8bdf4f49df1b52de41eefd9a1afd60.zip
gcc-46b86adcdc8bdf4f49df1b52de41eefd9a1afd60.tar.gz
gcc-46b86adcdc8bdf4f49df1b52de41eefd9a1afd60.tar.bz2
re PR tree-optimization/27341 (ICE in in add_virtual_operand with complex types)
2006-06-19 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/27341 * tree-cfg.c (gimplify_val): Call mark_new_vars_to_rename on the statement we get. * tree-complex.c (pass_lower_complex): Update SMT usage. From-SVN: r114771
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index a3fed03..6dbb7d3 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -5584,6 +5584,8 @@ gimplify_val (block_stmt_iterator *bsi, tree type, tree exp)
TREE_BLOCK (new_stmt) = TREE_BLOCK (orig_stmt);
bsi_insert_before (bsi, new_stmt, BSI_SAME_STMT);
+ if (in_ssa_p)
+ mark_new_vars_to_rename (new_stmt);
return t;
}