From: Daniel Berlin Date: Wed, 9 Jul 2008 17:13:31 +0000 (+0000) Subject: tree-ssa-pre.c (phi_translate_1): Update placement of add_to_value calls. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0a0ab2d51723c6f19db57f9732d4c4ca7278f3d;p=gcc.git tree-ssa-pre.c (phi_translate_1): Update placement of add_to_value calls. 2008-07-09 Daniel Berlin * tree-ssa-pre.c (phi_translate_1): Update placement of add_to_value calls. From-SVN: r137665 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8fabd6d820b..1f8e3a99ef6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-07-09 Daniel Berlin + + * tree-ssa-pre.c (phi_translate_1): Update placement of + add_to_value calls. + 2008-07-09 Anatoly Sokolov * target.h (struct gcc_target): Add hard_regno_scratch_ok field. diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index cbc1ca1f1e7..53c3957bf03 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -1399,8 +1399,8 @@ phi_translate_1 (pre_expr expr, bitmap_set_t set1, bitmap_set_t set2, if (constant != expr) return constant; get_or_alloc_expression_id (expr); - add_to_value (new_val_id, expr); } + add_to_value (new_val_id, expr); } phi_trans_add (oldexpr, expr, pred); return expr; @@ -1532,8 +1532,8 @@ phi_translate_1 (pre_expr expr, bitmap_set_t set1, bitmap_set_t set2, result, new_val_id); PRE_EXPR_REFERENCE (expr) = newref; get_or_alloc_expression_id (expr); - add_to_value (new_val_id, expr); } + add_to_value (new_val_id, expr); } phi_trans_add (oldexpr, expr, pred); return expr;