On Fri, Aug 30, 2019 at 12:36 AM Martin Sebor <mse...@gmail.com> wrote:
>
> The -Warray-bounds enhancement I added to GCC 9 causes false
> positives in languages like Fortran whose first array element
> is at a non-zero index.  The attached patch has the function
> responsible for the warning normalize the array bounds to
> always start at zero to avoid these false positives.
>
> Tested on x86_64-linux.

OK.

Thanks,
Richard.

> Martin

Reply via email to