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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:37e948410c67d1e4a0bb5bd3721b9fbf4d77f889

commit r8-9992-g37e948410c67d1e4a0bb5bd3721b9fbf4d77f889
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Feb 14 12:59:53 2020 +0100

    backport: re PR fortran/92781 (ICE in convert_nonlocal_reference_op, at
tree-nested.c:1065)

        Backported from mainline
        2019-12-05  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/92781
        * trans-decl.c (gfc_get_symbol_decl): If sym->backend_decl is
        current_function_decl, add length to current rather than parent
        function and expect DECL_CONTEXT (length) to be current_function_decl.

        * gfortran.dg/pr92781.f90: New test.

Reply via email to