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

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

https://gcc.gnu.org/g:efbf7392079222ef00db2d39998faf5513055181

commit r10-7699-gefbf7392079222ef00db2d39998faf5513055181
Author: Linus Koenig <l...@sig-st.de>
Date:   Mon Apr 13 16:30:44 2020 +0200

    ICE on wrong code [PR94192].

    The idea is not have another resolution of a pointer if an error has
    occurred previously.

    2020-04-13  Linus Koenig <l...@sig-st.de>

            PR fortran/94192
            * resolve.c (resolve_fl_var_and_proc): Set flag "error" to 1 if
            pointer is found to not have an assumed rank or a deferred shape.
            * simplify.c (simplify_bound): If an error has been issued for a
            given pointer, one should not attempt to find its bounds.

    2020-04-13  Linus Koenig <l...@sig-st.de>

            PR fortran/94192
            * gfortran.dg/bound_resolve_after_error_1.f90: New test.

Reply via email to