[Bug fortran/98686] Namelist group objects shall be defined before appearing in namelist for -std=f2018

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 14 01:53:36 GMT 2021


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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jvdelisle at gcc dot gnu.org
             Status|NEW                         |ASSIGNED
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
I have this working:

pr98686.f90:2:19:

    2 |   namelist /NML/ x, m, q
      |                   1
Error: Symbol ‘x’ in namelist ‘nml’ at (1) must be defined before the namelist
is declared.

Does this read OK?


More information about the Gcc-bugs mailing list