Re: [PATCH] Remove UBSAN in dwarf2out.c (PR tree-optimization/82491).

2018-04-03 Thread Jakub Jelinek
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 reg

[PATCH] Remove UBSAN in dwarf2out.c (PR tree-optimization/82491).

2018-04-03 Thread Martin Liška
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 Ma