Re: [PATCH] Fix ubsan ICE in the shift instrumentation

2014-11-28 Thread Jakub Jelinek
On Fri, Nov 28, 2014 at 04:49:28PM +0100, Marek Polacek wrote: > I forgot to adjust the C++ part of the shift instrumentation as well. > > Bootstrapped/regtested on ppc64-linux, ok for trunk? > > 2014-11-28 Marek Polacek > > * c-ubsan.c (ubsan_instrument_shift): Use op1_utype for MINUS_

[PATCH] Fix ubsan ICE in the shift instrumentation

2014-11-28 Thread Marek Polacek
I forgot to adjust the C++ part of the shift instrumentation as well. Bootstrapped/regtested on ppc64-linux, ok for trunk? 2014-11-28 Marek Polacek * c-ubsan.c (ubsan_instrument_shift): Use op1_utype for MINUS_EXPR instead of unsigned_type_node. * c-c++-common/ubsan/s