[all-commits] [llvm/llvm-project] 57705d: [flang] Catch error: base of DATA statement object...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Sep 22 14:42:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57705df2de9db50adca4a19ca32ee928990cc380
      https://github.com/llvm/llvm-project/commit/57705df2de9db50adca4a19ca32ee928990cc380
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M flang/lib/Semantics/check-data.cpp
    M flang/test/Semantics/data04.f90

  Log Message:
  -----------
  [flang] Catch error: base of DATA statement object can't be a pointer

A pointer with subscripts, substring indices, or components cannot
be initialized by a DATA statement (although of course a whole pointer
can be so).  Catch the missing cases.

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




More information about the All-commits mailing list