[flang-commits] [flang] [flang] Cray pointer in module (PR #66119)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Sep 12 11:05:17 PDT 2023


================
@@ -759,6 +759,15 @@ void ModFileWriter::PutObjectEntity(
     PutLower(os << "attributes(", common::EnumToString(*attr))
         << ") " << symbol.name() << '\n';
   }
+  if (symbol.test(Fortran::semantics::Symbol::Flag::CrayPointer)) {
----------------
vzakhari wrote:

Please add a LIT test with `test_modfile.py` in `flang/test/Semantics/`.

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


More information about the flang-commits mailing list