------- Comment #11 from rguenth at gcc dot gnu dot org 2010-09-18 12:30 ------- Stopping here for now - I guess doing immediate insertion still can break things as if there is another PHI node we'll iterate over the edges again (but now including split ones) and find_edge (new_edge->src->aux, bb) will break as new_edge->src is the newly inserted block.
I suppose delaying edge insert commits until after at least this block is finished is better. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.5.2 4.6.0 Summary|[4.3/4.4/4.5/4.6 regression]|[4.3/4.4 Regression] |internal compiler error: in |internal compiler error: in |add_phi_arg, at tree- |add_phi_arg, at tree- |phinodes.c:395 |phinodes.c:395 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709