On 06/18/2018 02:34 PM, Marek Polacek wrote:
> This patch improves the checks in size_must_be_zero_p so that we don't
> call get_range_info with SIZE of a pointer type.
> 
> Bootstrapped/regtested on x86_64-linux, ok for trunk and 8?
> 
> 2018-06-18  Marek Polacek  <pola...@redhat.com>
> 
>       PR middle-end/86202
>       * gimple-fold.c (size_must_be_zero_p): Check the type of the size.
> 
>       * gcc.dg/Wint-conversion-2.c: New test.
OK.
jeff

Reply via email to