[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:49:29 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:

Yes, this line: https://github.com/llvm/llvm-project/pull/111354/files#diff-be225bc038e95a229024c9f227284112f98fe31762bc0bb80605de425aadd084R2287 is responsible for the change.

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


More information about the flang-commits mailing list