OK. (I assume that for the culprit input, an error is show at some point.)
Thanks for ubsan testing!
Tobias
On 10/24/19 10:38 AM, Martin Liška wrote:
Hello.
There are 2 more places that need to be handled similarly
to not do out of bounds access.
Patch can bootstrap on x86_64-linux-gnu and s
tin Liska
Date: Thu, 24 Oct 2019 09:53:43 +0200
Subject: [PATCH] Fix another UBSAN in Fortran coarray.
gcc/fortran/ChangeLog:
2019-10-24 Martin Liska
PR fortran/92174
* array.c (gfc_resolve_array_spec): Break the loop
for out of bounds index.
* resolve.c (is_non_constant_shape_array): Likew