------- Comment #8 from jakub at gcc dot gnu dot org 2010-05-03 14:38 ------- I've also bootstrapped the first patch today, unfortunately on i686-linux it regresses forall_7.f90 testcase - gsi_skip_debug is called with after = 1 on sequence D.3267_429 = 125 + 5; (pointing at the only stmt in there). This calls gsi_next_nondebug which sets gsi->ptr to NULL - end_p situation and the following gsi_prev fails on assertion. I believe for after == true we can't use gsi_next_nondebug, instead it should be a loop using gsi_one_before_end_p predicate or something similar.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43478