Hi all, Attached patch adds to checks.  In the case of IMPLICIT typing it checks to see if the objects listed in the NAMELIST have defined types andf if not, sets them to the default implicit types. In the case of IMPLICIT NONE, the types are required be declared before the NAMELIST.   If an object type is found to not be declared already, an error is issued. One new test case added and one modified to pass. Regression tested. OK for trunk? Regards, Jerry fortran: Object types should be declared before use in NAMELIST. gcc/fortran/ChangeLog:     PR fortran/98686     * match.c (gfc_match_namelist): Add checks for IMPLICIT NONE and     whether the type for each namelist object has been defined before     the namelist declaration.  For IMPLICIT, set the types so that     any subsequent use of objects will have their types confirmed. gcc/testsuite/ChangeLog:     PR fortran/98686     * gfortran.dg/namelist_4.f90: Modify.     * gfortran.dg/namelist_98.f90: New test.