[all-commits] [llvm/llvm-project] 930c2d: [flang] Adjust %REF/%VAL semantic checking (#93718)

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 3 13:36:12 PDT 2024


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

  Changed paths:
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Parser/program-parsers.cpp
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/call40.f90

  Log Message:
  -----------
  [flang] Adjust %REF/%VAL semantic checking (#93718)

In accordance with other compilers, don't require that a %REF() actual
argument be a modifiable variable. And move the %REF/%VAL semantic
checks to Semantics/check-call.cpp, where one would expect to find them.

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



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