[all-commits] [llvm/llvm-project] d6a74e: [flang] Fix false error message for "ptr => func()...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Dec 15 16:30:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d6a74ec826adac16f715c5700fc102c62d1a8bf0
      https://github.com/llvm/llvm-project/commit/d6a74ec826adac16f715c5700fc102c62d1a8bf0
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M flang/include/flang/Evaluate/characteristics.h
    M flang/include/flang/Evaluate/shape.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Evaluate/shape.cpp
    M flang/lib/Semantics/pointer-assignment.cpp
    M flang/test/Semantics/null01.f90

  Log Message:
  -----------
  [flang] Fix false error message for "ptr => func()" array conformance

Pointers must have deferred shapes, so CheckConformance must be
extended to allow for them.

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




More information about the All-commits mailing list