http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46177
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-12 14:43:25 UTC --- Author: rguenth Date: Fri Nov 12 14:43:19 2010 New Revision: 166652 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166652 Log: 2010-11-12 Richard Guenther <rguent...@suse.de> Backport from mainline 2010-11-09 Richard Guenther <rguent...@suse.de> PR tree-optimization/46355 * tree-loop-distribution.c (tree_loop_distribution): Do not distribute loops without a single exit. * gcc.dg/pr46355.c: New testcase. 2010-11-02 Richard Guenther <rguent...@suse.de> PR tree-optimization/46177 * tree-loop-distribution.c (prop_phis): Use mark_virtual_phi_result_for_renaming. * gcc.dg/pr46177.c: New testcase. 2010-11-09 Richard Guenther <rguent...@suse.de> PR tree-optimization/46177 * tree-loop-distribution.c (prop_phis): Remove. (generate_builtin): Re-use the old loop exit edge to avoid needing to update PHI nodes. * gcc.dg/pr46177-2.c: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46177-2.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46177.c branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46355.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-loop-distribution.c