[all-commits] [llvm/llvm-project] 6ac392: [flang] Get base objects right in definability che...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 25 15:50:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ac392b9cbeba2bc098ae3f48b8c6f7db218905b
      https://github.com/llvm/llvm-project/commit/6ac392b9cbeba2bc098ae3f48b8c6f7db218905b
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M flang/lib/Semantics/definable.cpp
    M flang/test/Semantics/definable01.f90

  Log Message:
  -----------
  [flang] Get base objects right in definability checker (#78854)

The utility function GetRelevantObject() seems to be just wrong for
definability checks for the "base object" of a designator, and that's
all for which it is (now?) used. This leads to some false error messages
in Whizard when data-refs with multiple pointer components are defined.
Simplify, and add more test cases.




More information about the All-commits mailing list