mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
[flang][runtime] NAMELIST input into storage sequence (#76584)
Nearly every Fortran compiler supports the extension of NAMELIST input into a storage sequence identified by its initial scalar array element. For example, &GROUP A(1) = 1. 2. 3. / should be processed as if the input had been &GROUP A(1:) = 1. 2. 3. / Fixes llvm-test-suite/Fortran/gfortran/regression/namelist_24.f90.
This commit is contained in:
@@ -657,3 +657,7 @@ end
|
||||
but every Fortran compiler allows the encoding to be changed on an
|
||||
open unit.
|
||||
|
||||
* A `NAMELIST` input item that references a scalar element of a vector
|
||||
or contiguous array can be used as the initial element of a storage
|
||||
sequence. For example, "&GRP A(1)=1. 2. 3./" is treated as if had been
|
||||
"&GRP A(1:)=1. 2. 3./".
|
||||
|
||||
Reference in New Issue
Block a user