https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92174

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Oct 24 08:49:02 2019
New Revision: 277367

URL: https://gcc.gnu.org/viewcvs?rev=277367&root=gcc&view=rev
Log:
Fix another UBSAN in Fortran coarray.

2019-10-24  Martin Liska  <mli...@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.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/resolve.c

Reply via email to