Re: [PATCH] Fix debug stmt handling in -ftree-loop-distribution (PR debug/48159)

2011-05-11 Thread Richard Guenther
On Wed, May 11, 2011 at 2:15 PM, Jakub Jelinek wrote: > Hi! > > The first testcase below ICEs, because generate_loops_for_partition > removes phis and stmts in the get_loop_body_in_dom_order order of bbs > and within within the bbs starting with phi nodes and then from beginning to > end of the bb

[PATCH] Fix debug stmt handling in -ftree-loop-distribution (PR debug/48159)

2011-05-11 Thread Jakub Jelinek
Hi! The first testcase below ICEs, because generate_loops_for_partition removes phis and stmts in the get_loop_body_in_dom_order order of bbs and within within the bbs starting with phi nodes and then from beginning to end of the bb. While looking at it, I've noticed that stmts_from_loop and all