[Bug fortran/92781] ICE in convert_nonlocal_reference_op, at tree-nested.c:1065
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 14 16:35:00 GMT 2020
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
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:37e948410c67d1e4a0bb5bd3721b9fbf4d77f889
commit r8-9992-g37e948410c67d1e4a0bb5bd3721b9fbf4d77f889
Author: Jakub Jelinek <jakub@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 <jakub@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.
More information about the Gcc-bugs
mailing list