From 094bb856e66fc86a004c604331cbc4bd17472369 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 16 Dec 2005 00:52:16 +0100 Subject: re PR rtl-optimization/25224 (ICE in initialize_original_copy_tables) PR rtl-optimization/25224 * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy tables. From-SVN: r108606 --- gcc/tree-ssa-loop-unswitch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/tree-ssa-loop-unswitch.c') 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); -- cgit v1.2.1