------- Comment #2 from hubicka at gcc dot gnu dot org 2005-12-02 18:21 -------
testing patch:
2005-12-02 Jan Hubicka <[EMAIL PROTECTED]>
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
tables.
Index: tree-ssa-loop-unswitch.c
===================================================================
*** tree-ssa-loop-unswitch.c (revision 107909)
--- tree-ssa-loop-unswitch.c (working copy)
*************** tree_unswitch_single_loop (struct loops
*** 253,259 ****
/* Unswitch the loop on this condition. */
nloop = tree_unswitch_loop (loops, loop, bbs[i], cond);
if (!nloop)
! return changed;
/* Update the SSA form after unswitching. */
update_ssa (TODO_update_ssa);
--- 253,262 ----
/* Unswitch the loop on this condition. */
nloop = tree_unswitch_loop (loops, loop, bbs[i], cond);
if (!nloop)
! {
! free_original_copy_tables ();
! return changed;
! }
/* Update the SSA form after unswitching. */
update_ssa (TODO_update_ssa);
--
hubicka at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |hubicka at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25224