Re: [PATCH] Fix get_range_strlen (PR tree-optimization/84339)

2018-02-13 Thread Richard Biener
On Mon, 12 Feb 2018, Jakub Jelinek wrote: > Hi! > > get_range_strlen fails to tell the caller that array_at_struct_end_p has > been involved in cases like (&ptr->arr[0]), while it handles > (ptr->arr). Fixed thusly, bootstrapped/regtested on x86_64-linux and > i686-linux, ok for trunk? Ok. Ric

[PATCH] Fix get_range_strlen (PR tree-optimization/84339)

2018-02-12 Thread Jakub Jelinek
Hi! get_range_strlen fails to tell the caller that array_at_struct_end_p has been involved in cases like (&ptr->arr[0]), while it handles (ptr->arr). Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2018-02-12 Jakub Jelinek PR tree-optimization/84339