Fix another UBSAN in Fortran coarray.
authorMartin Liska <mliska@suse.cz>
Thu, 24 Oct 2019 08:49:02 +0000 (10:49 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 24 Oct 2019 08:49:02 +0000 (08:49 +0000)
commitd136595df77f75bc6e5132e26f09cad031f38c71
tree26803e010c153593fe9cf23c845d7eae3e88e346
parent0214d31a48f867b9b00134cea7223d35ed7865aa
Fix another UBSAN in Fortran coarray.

2019-10-24  Martin Liska  <mliska@suse.cz>

PR fortran/92174
* array.c (gfc_resolve_array_spec): Break the loop
for out of bounds index.
* resolve.c (is_non_constant_shape_array): Likewise.

From-SVN: r277367
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/resolve.c