[flang-commits] [flang] [Flang][OpenMP] Add some semantic checks for Linear clause (PR #111354)

Thirumalai Shaktivel via flang-commits flang-commits at lists.llvm.org
Tue Oct 8 22:53:44 PDT 2024


================
@@ -23,6 +23,7 @@ end subroutine requires_2
 
 subroutine declare_simd_1(a, b)
   real(8), intent(inout) :: a, b
+  !ERROR: 'a' in ALIGNED clause must be of type C_PTR, POINTER or ALLOCATABLE
----------------
Thirumalai-Shaktivel wrote:

I fixed it in the recent commit.

https://github.com/llvm/llvm-project/pull/111354


More information about the flang-commits mailing list