Re: PATCH to fix ICE with -Wint-conversion (PR middle-end/86202)

2018-06-22 Thread Jeff Law
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 > > PR middle-end/86202 >

PATCH to fix ICE with -Wint-conversion (PR middle-end/86202)

2018-06-18 Thread Marek Polacek
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 PR middle-end/86202 * gimple-fold.c (size_must_be_zero_p): Check the typ