[flang-commits] [flang] [flang][openacc] Warn only when the same variable is in the same declare (PR #70698)
Razvan Lupusoru via flang-commits
flang-commits at lists.llvm.org
Mon Oct 30 14:17:09 PDT 2023
================
@@ -14,7 +14,7 @@ module openacc_declare_validity
!$acc declare create(aa, bb)
- !ERROR: 'aa' in the CREATE clause is already present in another clause in this module
+ !WARNING: 'aa' in the CREATE clause is already present in the same clause in this module
----------------
razvanlupusoru wrote:
Can you also add an error check for case when it is in conflicting declare clause again?
https://github.com/llvm/llvm-project/pull/70698
More information about the flang-commits
mailing list