[all-commits] [llvm/llvm-project] 811545: [flang] Extension: accept "var*length(bounds)" (#1...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Dec 2 12:26:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8115454aa05caf4ebfaa98466a8c8b7aa274cefd
      https://github.com/llvm/llvm-project/commit/8115454aa05caf4ebfaa98466a8c8b7aa274cefd
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/type-parsers.h
    A flang/test/Parser/decl-char-length.f90

  Log Message:
  -----------
  [flang] Extension: accept "var*length(bounds)" (#117399)

A character length specifier in an entity declaration or a component
declaration is required by the standard to follow any array bounds or
coarray bounds that are present. Several Fortran compilers allow the
character length specifier to follow the name and appear before the
bounds.

Fixes https://github.com/llvm/llvm-project/issues/117372.



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