[flang-commits] [flang] [acc] `acc declare` + `present` clause for COMMON blocks (PR #175588)

Susan Tan ス-ザン タン via flang-commits flang-commits at lists.llvm.org
Wed Jan 14 13:22:51 PST 2026


================
@@ -961,6 +986,25 @@ static void genDeclareDataOperandOperations(
     // Handle COMMON/global symbols via module-level ctor/dtor path.
     if (symbol.detailsIf<Fortran::semantics::CommonBlockDetails>() ||
         Fortran::semantics::FindCommonBlockContaining(symbol)) {
+      if (dataClause == mlir::acc::DataClause::acc_present) {
----------------
SusanTan wrote:

Don't know why it doesn't show outdated... but it's fixed!

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


More information about the flang-commits mailing list