[flang][openacc] Fix false error when common block is in copy clause
authorValentin Clement <clementval@gmail.com>
Wed, 5 Jul 2023 15:33:54 +0000 (08:33 -0700)
committerValentin Clement <clementval@gmail.com>
Wed, 5 Jul 2023 15:34:22 +0000 (08:34 -0700)
commit85128d8b6aba0e471a4eec18ca30375b17c61345
treeaf3029fdd6fc67e45bf7e8a0e10d5e1d9bac1255
parent4ade8b7ed9976303b23cff3525223826e65b46e7
[flang][openacc] Fix false error when common block is in copy clause

Wrong error was reported mentioning that the common block was in
more than one data sharing clause.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D154393
flang/include/flang/Semantics/symbol.h
flang/lib/Semantics/resolve-directives.cpp
flang/test/Semantics/OpenACC/acc-resolve04.f90