[all-commits] [llvm/llvm-project] 2163e6: [flang][NFC] Document semantics of an ambiguous/no...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jul 3 11:28:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2163e662c64f892ef9952f6e57b6cda2f4403479
      https://github.com/llvm/llvm-project/commit/2163e662c64f892ef9952f6e57b6cda2f4403479
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M flang/docs/Extensions.md

  Log Message:
  -----------
  [flang][NFC] Document semantics of an ambiguous/non-portable use case

We intentionally process NAMELIST groups in a scope after having
resolved all of the names in that scope.  This means that a name
whose first appearance in a scope is in the NAMELIST group resolves
to a local object, if any, rather than to any host associated object.
The standard is unclear on this point, and there is no clear
precedent in other compilers.

This patch doesn't implement this choice -- that was done long ago --
but just documents the behavior in Extensions.md.

Differential Revision: https://reviews.llvm.org/D154375




More information about the All-commits mailing list