diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-16 15:19:31 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-16 15:19:31 +0000 |
commit | 311eb7b3dac4f7c398e8f0cbe4c8cf23be55ef0a (patch) | |
tree | 077f462a6b67c7f0e6ff7ae68af1ec5cdf876f4f /gcc/tree-ssa-copyrename.c | |
parent | 95e89c247ea8f6b09438f89a568cc997b81b370a (diff) | |
download | gcc-311eb7b3dac4f7c398e8f0cbe4c8cf23be55ef0a.tar.gz |
* tree-ssa-copyrename.c (copy_rename_partition_coalesce):
Check for arificial variables, not is_gimple_tmp_var.
* tree-ssa-live.c (var_union): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86057 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-copyrename.c')
-rw-r--r-- | gcc/tree-ssa-copyrename.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-copyrename.c b/gcc/tree-ssa-copyrename.c index 2fd87e2214b..74667f8bc61 100644 --- a/gcc/tree-ssa-copyrename.c +++ b/gcc/tree-ssa-copyrename.c @@ -195,8 +195,8 @@ copy_rename_partition_coalesce (var_map map, tree var1, tree var2, FILE *debug) return; } - gimp1 = is_gimple_tmp_var (root1); - gimp2 = is_gimple_tmp_var (root2); + gimp1 = (TREE_CODE (root1) == VAR_DECL && DECL_ARTIFICIAL (root1)); + gimp2 = (TREE_CODE (root2) == VAR_DECL && DECL_ARTIFICIAL (root2)); /* Never attempt to coalesce 2 user variables unless one is an inline variable. */ |