[flang-commits] [flang] [Flang][OpenMP] Fix false positive common block error in LINEAR clause (PR #189170)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Tue Mar 31 03:18:41 PDT 2026
================
@@ -44,6 +44,5 @@ subroutine linear_clause_03(arg)
integer :: i
common /cc/ i
!ERROR: The list item `i` must be a dummy argument
- !ERROR: 'i' is a common block name and must not appear in an LINEAR clause
----------------
eugeneepshteyn wrote:
I recommend that you add a test with a COMMON block that still triggers this error message.
https://github.com/llvm/llvm-project/pull/189170
More information about the flang-commits
mailing list