diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-15 23:52:16 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-15 23:52:16 +0000 |
commit | 16c6b1e73d6be46354b5c25d9b8ecc3c0e5e739f (patch) | |
tree | b40d07b7efdcd9d96f951a5796b113221ad6be1e /gcc/tree-ssa-loop-unswitch.c | |
parent | c2aa3ceb0307d50cc890e310889a8260a8bef160 (diff) | |
download | gcc-16c6b1e73d6be46354b5c25d9b8ecc3c0e5e739f.tar.gz |
PR rtl-optimization/25224
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
tables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
-rw-r--r-- | gcc/tree-ssa-loop-unswitch.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index d0625c52ec9..f8963548fee 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -253,7 +253,10 @@ tree_unswitch_single_loop (struct loops *loops, struct loop *loop, int num) /* Unswitch the loop on this condition. */ nloop = tree_unswitch_loop (loops, loop, bbs[i], cond); if (!nloop) - return changed; + { + free_original_copy_tables (); + return changed; + } /* Update the SSA form after unswitching. */ update_ssa (TODO_update_ssa); |