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

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <[email protected]>:

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

commit r17-1722-gb971bf8f24ab81615b920fd97fcbbe7e8cc1c5d8
Author: Jerry DeLisle <[email protected]>
Date:   Fri Jun 19 18:37:52 2026 -0700

    fortran: namelist read with repeat count fails when member of array

    When processing a namelist with a repeat count and the object is a
    component of a derived type, we need to go through the components
    and update each one.

            PR fortran/82086

    libgfortran/ChangeLog:

            * io/list_read.c (nml_read_obj): Add is_component parameter
            to correctly distribute repeat count across derived-type array
            elements.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/namelist_103.f90: New test.
  • [Bug fortran/82086] namelist re... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to