[all-commits] [llvm/llvm-project] b096b8: [flang][openacc] Warn only when the same variable ...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Tue Oct 31 08:52:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b096b8b1ff30abc9983da12d1b8c099530663627
https://github.com/llvm/llvm-project/commit/b096b8b1ff30abc9983da12d1b8c099530663627
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-acc-structure.h
M flang/test/Semantics/OpenACC/acc-declare-validity.f90
Log Message:
-----------
[flang][openacc] Warn only when the same variable is in the same declare (#70698)
A var may appear at most once in all the clauses of declare directives
for a function, subroutine, program, or module.
We raise an error when a var appears in two different clauses. If it is
in the same clauses, we just issue a warning.
More information about the All-commits
mailing list