summaryrefslogtreecommitdiff
path: root/gcc/tree-ssanames.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-03 22:38:33 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-03 22:38:33 +0000
commitac6db7811a9e6e9f2169fe609f21368ba81c8756 (patch)
treee59551e0e65a59fe649b0f87ddc5560204162a2f /gcc/tree-ssanames.c
parentd7997df08d801df20306d42f2c68cfe03d1acd26 (diff)
downloadgcc-ac6db7811a9e6e9f2169fe609f21368ba81c8756.tar.gz
2004-09-04 Jan Hubicka <jh@suse.cz>
* cfg.c (free_edge): Use ggc_free. (expunge_block): Use ggc_free. * passes.c (rest_of_clean_state): Free after compilation. * tree-ssa.c (delete_tree_ssa): Free annotations; call release_defs * tree-ssanames.c (release_defs): Ignore non-SSA_NAME arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87058 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssanames.c')
-rw-r--r--gcc/tree-ssanames.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c
index 1e947d69f1e..ad03a583227 100644
--- a/gcc/tree-ssanames.c
+++ b/gcc/tree-ssanames.c
@@ -302,7 +302,8 @@ release_defs (tree stmt)
ssa_op_iter iter;
FOR_EACH_SSA_TREE_OPERAND (def, stmt, iter, SSA_OP_ALL_DEFS)
- release_ssa_name (def);
+ if (TREE_CODE (def) == SSA_NAME)
+ release_ssa_name (def);
}