[PATCH] Fix PR56525

2013-03-05 Thread Richard Biener
This should fix PR56525, we reference ggc_freed loop structures from bb-loop_father when fix_loop_structure removes a loop and then calls flow_loops_find. Fixed by delaying the ggc_free part of loop removal until after that (I thought about other ways to fix the reference but they are way more

Re: [PATCH] Fix PR56525

2013-03-05 Thread Jakub Jelinek
On Tue, Mar 05, 2013 at 12:27:20PM +0100, Richard Biener wrote: This should fix PR56525, we reference ggc_freed loop structures from bb-loop_father when fix_loop_structure removes a loop and then calls flow_loops_find. Fixed by delaying the ggc_free part of loop removal until after that (I