summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-live.c
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-08-16 15:19:31 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-08-16 15:19:31 +0000
commitdffc9ae5a984b8f12174d7b765a14d714843e45b (patch)
tree077f462a6b67c7f0e6ff7ae68af1ec5cdf876f4f /gcc/tree-ssa-live.c
parent82cb25749bc242b88c5ca61365452ebba48fd307 (diff)
downloadgcc-dffc9ae5a984b8f12174d7b765a14d714843e45b.tar.gz
tree-ssa-copyrename.c (copy_rename_partition_coalesce): Check for arificial variables, not is_gimple_tmp_var.
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Check for arificial variables, not is_gimple_tmp_var. * tree-ssa-live.c (var_union): Likewise. From-SVN: r86057
Diffstat (limited to 'gcc/tree-ssa-live.c')
-rw-r--r--gcc/tree-ssa-live.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index bd5e8fb22ae..95b1834453c 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -135,7 +135,8 @@ var_union (var_map map, tree var1, tree var2)
/* If there is no root_var set, or its not a user variable, set the
root_var to this one. */
- if (!root_var || is_gimple_tmp_var (root_var))
+ if (!root_var
+ || (TREE_CODE (root_var) == VAR_DECL && DECL_ARTIFICIAL (root_var)))
{
other_var = root_var;
root_var = var2;