[PATCH] D102400: [flang] [openmp] Add Fortran specific semantic check 4 for OpenMP Allocate directive.

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 11:22:41 PDT 2021


kiranchandramohan added inline comments.


================
Comment at: flang/test/Semantics/omp-allocate08.f90:32
+  !$omp allocate(z)
+
+  !ERROR: If list items within the ALLOCATE directive have the SAVE attribute, are a common block name, or are declared in the scope of a module, then only predefined memory allocator parameters can be used in the allocator clause
----------------
Can you add a test with a custom allocator?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102400/new/

https://reviews.llvm.org/D102400



More information about the llvm-commits mailing list