[all-commits] [llvm/llvm-project] c6dd9f: [flang] Catch usage of : and * lengths in array c'...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Feb 27 14:33:11 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6dd9f4278d156976d7694fb34d0bb614082ce46
      https://github.com/llvm/llvm-project/commit/c6dd9f4278d156976d7694fb34d0bb614082ce46
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/array-constr-len.f90

  Log Message:
  -----------
  [flang] Catch usage of : and * lengths in array c'tors (#128974)

The definition of an array constructor doesn't preclude the use of
[character(:)::] or [character(*)::] directly, but there is language
elsewhere in the standard that restricts their use to specific contexts,
neither of which include explicitly typed array constructors.

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



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