[all-commits] [llvm/llvm-project] dc65c3: [flang] Allow pointers to non-sequence types in se...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jan 14 10:50:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc65c3f2ffee2e745a9a6120dbbbec07b7d7f12a
      https://github.com/llvm/llvm-project/commit/dc65c3f2ffee2e745a9a6120dbbbec07b7d7f12a
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M flang/docs/Extensions.md
    M flang/include/flang/Common/Fortran-features.h
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/resolve31.f90

  Log Message:
  -----------
  [flang] Allow pointers to non-sequence types in sequence types

Derived types with SEQUENCE must have data components of sequence
types; but this rule is relaxed as common an extension in the case of
pointer components, whose targets' types are not really relevant
to the implementation requirements of sequence types.

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




More information about the All-commits mailing list