Re: [PATCH] Fix UB in dwarf2out.c (PR debug/78587)

2016-12-01 Thread Richard Biener
On Wed, Nov 30, 2016 at 8:02 PM, Jakub Jelinek wrote: > Hi! > > This patch fixes 3 spots with UB in dwarf2out.c, furthermore the first spot > results in smaller/better debug info. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Ok. Thanks, Richard. > 2016-11-30 Jakub J

[PATCH] Fix UB in dwarf2out.c (PR debug/78587)

2016-11-30 Thread Jakub Jelinek
Hi! This patch fixes 3 spots with UB in dwarf2out.c, furthermore the first spot results in smaller/better debug info. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2016-11-30 Jakub Jelinek PR debug/78587 * dwarf2out.c (loc_descr_plus_const): For negativ