Re: [PATCH] Fix PR54650

2012-09-24 Thread Richard Guenther
On Sat, Sep 22, 2012 at 4:08 AM, Dehao Chen wrote: > Hi, > > The problem is due to a bug when move_block_to_fn. edge->goto_block > should be updated even when its locus is unknown. This patch also > fixes the way to reset block for expr. I think the machinery is much more fragile (which is probab

[PATCH] Fix PR54650

2012-09-21 Thread Dehao Chen
Hi, The problem is due to a bug when move_block_to_fn. edge->goto_block should be updated even when its locus is unknown. This patch also fixes the way to reset block for expr. Bootstrapped and pass all gcc regression tests. Is it okay for trunk? Thanks, Dehao gcc/ChangeLog: tree-cfg.c