[flang-commits] [clang] [flang] [flang] Adding support of -fcoarray flang and init PRIF (PR #151675)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Thu Aug 7 12:08:22 PDT 2025


================
@@ -74,5 +74,9 @@ ENUM_LOWERINGOPT(SkipExternalRttiDefinition, unsigned, 1, 0)
 /// If false, lower to the complex dialect of MLIR.
 /// On by default.
 ENUM_LOWERINGOPT(ComplexDivisionToRuntime, unsigned, 1, 1)
+
+/// Enable coarrays feature.
+ENUM_LOWERINGOPT(CoarrayFeature, unsigned, 1, 0)
----------------
clementval wrote:

It would be better to use `LanguageFeatures` enum like it is done for OpenMP, OpenACC and CUDA Fortran. 

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


More information about the flang-commits mailing list