[all-commits] [llvm/llvm-project] 67081b: [flang] Enforce F'2023 C15121 (#94418)

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jun 11 17:07:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67081badfc65b8b60622314dd698834ffcfdbfa9
      https://github.com/llvm/llvm-project/commit/67081badfc65b8b60622314dd698834ffcfdbfa9
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/include/flang/Evaluate/check-expression.h
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Lower/HLFIR/elemental-result-length.f90
    M flang/test/Semantics/elemental01.f90

  Log Message:
  -----------
  [flang] Enforce F'2023 C15121 (#94418)

No specification expression in the declaration of the result variable of
an elemental function may depend on the value of a dummy argument. This
ensures that all of the results have the same type when the elemental
function is applied to the elements of an array.



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