[flang-commits] [flang] [flang][openacc] Warn only when the same variable is in the same declare (PR #70698)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Mon Oct 30 14:29:54 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
----------------
clementval wrote:

There was on in the function but I added one back in the module declaration.

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


More information about the flang-commits mailing list