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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb  7 14:33:07 2019
New Revision: 268623

URL: https://gcc.gnu.org/viewcvs?rev=268623&root=gcc&view=rev
Log:
        Backported from mainline
        2019-01-19  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/88902
        * trans-decl.c (gfc_get_symbol_decl): Don't add length to function
        or parent function if it has been added there already.

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

Added:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr88902.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/trans-decl.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to