Re: [PATCH] gimple ISEL: fix BB stmt iteration

2020-11-30 Thread Richard Biener via Gcc-patches
On Mon, Nov 30, 2020 at 11:27 AM Martin Liška wrote: > > When gimple_expand_vec_set_expr succeeds, it can remove last > statements of a BB and so gsi_next(gsi->ptr) leads to ICE. > > Fixed with the patch. > Ready for master? OK. Richard. > Thanks, > Martin > > gcc/ChangeLog: > > PR tree

[PATCH] gimple ISEL: fix BB stmt iteration

2020-11-30 Thread Martin Liška
When gimple_expand_vec_set_expr succeeds, it can remove last statements of a BB and so gsi_next(gsi->ptr) leads to ICE. Fixed with the patch. Ready for master? Thanks, Martin gcc/ChangeLog: PR tree-optimization/98066 * gimple-isel.cc (gimple_expand_vec_exprs): Return when