[all-commits] [llvm/llvm-project] 6b9716: [flang] Catch bad usage case of whole assumed-size...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Mar 19 12:02:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b9716b7f48a773ec7e73556245addf9aa25fad2
      https://github.com/llvm/llvm-project/commit/6b9716b7f48a773ec7e73556245addf9aa25fad2
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

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

  Log Message:
  -----------
  [flang] Catch bad usage case of whole assumed-size array (#132052)

Whole assumed-size arrays are generally not allowed outside specific
contexts, where expression analysis notes that they can appear. But
contexts can nest, and in the case of an actual argument that turns out
to be an array constructor, the permission to use a whole assumed-size
array must be rescinded.

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



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