Re: [PATCH] Fix PR76783

2016-08-16 Thread Richard Biener
On Tue, 16 Aug 2016, Richard Biener wrote: > > This patch fixes PR76783 by not just using any PRE order but RPO order > for the SSA propagator. This makes sure to visit PHI args from > non-backedges before the PHI node itself. > > It also fixes the assumption that BB_VISITED is well-defined on

[PATCH] Fix PR76783

2016-08-16 Thread Richard Biener
This patch fixes PR76783 by not just using any PRE order but RPO order for the SSA propagator. This makes sure to visit PHI args from non-backedges before the PHI node itself. It also fixes the assumption that BB_VISITED is well-defined on pass entry (but still keeps clearing it at the end