On Tue, Apr 03, 2018 at 02:31:56PM +0200, Martin Liška wrote: > Hi. > > This is second part of the UBSAN. Richard Sandiford help me to wrap the offset > into poly_uint64. The offset is neither logically signed nor logically > unsigned. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Martin > > gcc/ChangeLog: > > 2018-04-03 Martin Liska <mli...@suse.cz> > > PR tree-optimization/82491 > * rtl.h (strip_offset_and_add): Replace += suboffset with > poly_uint64 () + suboffset.
Ok, thanks. Jakub