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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <jvdeli...@gcc.gnu.org>:

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

commit r11-7306-gdfa2f821c18b7e926b5f5d6e394a0c915937db5e
Author: Jerry DeLisle <jvdeli...@gcc.gnu.org>
Date:   Fri Feb 19 12:47:54 2021 -0800

    fortran: Object types should be declared before use in NAMELIST.

    gcc/fortran/ChangeLog:

            PR fortran/98686
            * match.c (gfc_match_namelist): If BT_UNKNOWN, check for
            IMPLICIT NONE and and issue an error, otherwise set the type
            to its IMPLICIT type so that any subsequent use of objects will
            will confirm their types.

    gcc/testsuite/ChangeLog:

            PR fortran/98686
            * gfortran.dg/namelist_4.f90: Modify.
            * gfortran.dg/namelist_98.f90: New test.
  • [Bug fortran/98686] Namelist gr... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to