[all-commits] [llvm/llvm-project] d414e8: [flang] Reject PARAMETER constants in NAMELIST gro...

Miguel Saldivar via All-commits all-commits at lists.llvm.org
Thu Mar 5 14:27:15 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d414e8cac3378c42e0c5432b76e595bed9eddc11
      https://github.com/llvm/llvm-project/commit/d414e8cac3378c42e0c5432b76e595bed9eddc11
  Author: Miguel Saldivar <miguel.saldivar at hpe.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Support/Fortran-features.h
    M flang/lib/Semantics/check-namelist.cpp
    A flang/test/Semantics/namelist02.f90

  Log Message:
  -----------
  [flang] Reject PARAMETER constants in NAMELIST groups (#178960)

The Fortran standard does not allow `PARAMETERS` within a
`namelist-group-object`, it should only allow variables. An error should
be emitted when a `PARAMETER` is found within a `namelist-group-object`.

Fixes: #178955



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list