http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55964
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-16 14:07:03 UTC --- Author: rguenth Date: Wed Jan 16 14:06:58 2013 New Revision: 195239 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195239 Log: 2013-01-16 Richard Biener <rguent...@suse.de> PR tree-optimization/55964 * tree-flow.h (rename_variables_in_loop): Remove. (rename_variables_in_bb): Likewise. * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. (copy_loop_before): Adjust and delete update-ssa status. * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. (rename_variables_in_bb): Likewise. Properly walk over predecessors. (rename_variables_in_loop): Remove. (slpeel_update_phis_for_duplicate_loop): Likewise. (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, use available cfg machinery instead of duplicating it. Update PHI nodes and perform poor-mans SSA update here. (slpeel_tree_peel_loop_to_edge): Adjust. * gcc.dg/torture/pr55964.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr55964.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-flow.h trunk/gcc/tree-loop-distribution.c trunk/gcc/tree-vect-loop-manip.c