[all-commits] [llvm/llvm-project] d9df5b: [flang] Diagnostic for shape argument in c_f_pointer

realqhc via All-commits all-commits at lists.llvm.org
Sun Dec 4 19:09:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9df5bb8cf1971fac165a718cef2d435b71bab4b
      https://github.com/llvm/llvm-project/commit/d9df5bb8cf1971fac165a718cef2d435b71bab4b
  Author: Qihan Cai <qcai8733 at uni.sydney.edu.au>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Semantics/c_f_pointer.f90

  Log Message:
  -----------
  [flang] Diagnostic for shape argument in c_f_pointer

Fix #59177, add check for dimensionality for shape argument against rank of FPTR argument in c_f_pointer

Reviewed By: peixin

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




More information about the All-commits mailing list