[all-commits] [llvm/llvm-project] c11b44: [flang] Selectors whose expressions are pointers r...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 6 11:30:55 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c11b4456c2e32866c4a43bf4e6785091e64b8db5
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Lower/HostAssociations.cpp
    A flang/test/Semantics/associate01.f90

  Log Message:
  [flang] Selectors whose expressions are pointers returned from functions are valid targets

An ASSOCIATE or SELECT TYPE statement's selector whose "right-hand side" is the result
of a reference to a function that returns a pointer must be usable as a valid target
(but not as a pointer).

Differential Revision: https://reviews.llvm.org/D135211

More information about the All-commits mailing list