diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-14 19:32:45 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-14 19:32:45 +0000 |
commit | 94b3ed0b96bef9d17eb6c2584278c1d9f5e34c89 (patch) | |
tree | 56a9982dab30a92ee91cd730d2f2414c84520071 /gcc/tree-ssa.c | |
parent | 4701372e3d1286672e54afa327a434ee9034edf0 (diff) | |
download | gcc-94b3ed0b96bef9d17eb6c2584278c1d9f5e34c89.tar.gz |
PR middle-end/34088
* tree-ssa.c (delete_tree_ssa): Don't call fini_ssa_operands if
init_ssa_operands has not been called for cfun.
* gcc.dg/pr34088.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index 9baf6bc40ee..eeb76806f8d 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -899,7 +899,8 @@ delete_tree_ssa (void) fini_ssanames (); fini_phinodes (); /* we no longer maintain the SSA operand cache at this point. */ - fini_ssa_operands (); + if (ssa_operands_active ()) + fini_ssa_operands (); cfun->gimple_df->global_var = NULL_TREE; |