Re: Fix use after free in vector_size change

2019-10-22 Thread Richard Biener
On Tue, Oct 22, 2019 at 9:25 AM Richard Sandiford wrote: > > I noticed yesterday that r277235 was a bit too mechanical and ended up > introducing use after free bugs in both loop and SLP vectorisation. > Sorry for the stupid mistake. :-( > > Moving "next_size += 1" down isn't part of the fix, but

Fix use after free in vector_size change

2019-10-22 Thread Richard Sandiford
I noticed yesterday that r277235 was a bit too mechanical and ended up introducing use after free bugs in both loop and SLP vectorisation. Sorry for the stupid mistake. :-( Moving "next_size += 1" down isn't part of the fix, but it seemed odd to keep it where it was after moving the "next_size ==