[Bug fortran/90350] ubound ICE on assumed size array even though explicit bound is specified

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 22 16:21:33 GMT 2020


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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Thomas Kथà¤nig <tkoenig@gcc.gnu.org>:

https://gcc.gnu.org/g:808a6eadda1a353ce3a70556feac128580491b24

commit r10-7886-g808a6eadda1a353ce3a70556feac128580491b24
Author: Jose Rui Faustino de Sousa <jrfsousa@gmail.com>
Date:   Wed Apr 22 18:20:26 2020 +0200

    For assumed-size arrays check if the reference is to a full array.

    2020-04-22  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

            PR fortran/90350
            * simplify.c (simplify_bound): In the case of assumed-size arrays
            check if the reference is to a full array.

    2020-04-22  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

            PR fortran/90350
            * gfortran.dg/PR90350.f90: New test.


More information about the Gcc-bugs mailing list