From dffc9ae5a984b8f12174d7b765a14d714843e45b Mon Sep 17 00:00:00 2001 From: Nathanael Nerode Date: Mon, 16 Aug 2004 15:19:31 +0000 Subject: 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 --- gcc/tree-ssa-live.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/tree-ssa-live.c') diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c index bd5e8fb..95b1834 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; -- cgit v1.1