Re: [PATCH] Fix two spots with undefined behavior

2014-03-25 Thread Richard Biener
On Tue, 25 Mar 2014, Jakub Jelinek wrote: > Hi! > > These two spots were determined by --with-build-config=bootstrap-ubsan > as having undefined signed integer overflow. > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, > ok for trunk? Ok. Thanks, Richard. > 2014-03-25

[PATCH] Fix two spots with undefined behavior

2014-03-25 Thread Jakub Jelinek
Hi! These two spots were determined by --with-build-config=bootstrap-ubsan as having undefined signed integer overflow. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2014-03-25 Jakub Jelinek * cselib.c (cselib_hash_rtx): Perform addition in unsign