[Bug middle-end/59208] [4.9 Regression] ice in initialize_flags_in_bb

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 29 09:26:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59208

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #7)
> Created attachment 31322 [details]
> Proposed fix I am testing
> 
> Hi,
> the problem here is that update_stmt is called with cfun being set to NULL. 
> It uses ssa_operands_active (cfun) call that return false.
> This patch makes us to set cfun correctly when updating the function body. 
> 
> It may be interesting to investigate why some testcases fails on PPC and not
> on x86 - they may be cases where we missed devirtualization during early
> optimization but for whatever reason we now handle it during IPA
> 
> Honza

Argh.  I'll try to add a update_stmt_fn.



More information about the Gcc-bugs mailing list