On Thu, Apr 27, 2017 at 09:17:44PM +0200, Marek Polacek wrote:
> Yet another missing converts caused that BIT_XOR_EXPRs with incompatible
> arguments have gotten into the gimplifier.  Fixed thus.  This patch also
> improves readability by using a temporary, the current style wasn't very
> readable especially because of the wrong formatting caused by adding the
> *_loc variants...

Yeah, this is indeed much more readable.

> Bootstrapped/regtested on x86_64-linux, ok for trunk?
> 
> 2017-04-27  Marek Polacek  <pola...@redhat.com>
> 
>       PR sanitizer/80349
>       * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Convert
>       arg10 and arg11 to itype.
> 
>       * c-c++-common/ubsan/pr80349.c: New test.

Ok for trunk and after a while for 7.2.

        Jakub

Reply via email to