[flang-commits] [flang] [flang][openacc] Ignore bare acc routine in module subprogram part instead of erroring out (PR #205450)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Wed Jun 24 14:52:22 PDT 2026


================
@@ -2986,6 +2986,7 @@ struct ModuleSubprogram {
   std::variant<common::Indirection<FunctionSubprogram>,
       common::Indirection<SubroutineSubprogram>,
       common::Indirection<SeparateModuleSubprogram>,
+      common::Indirection<OpenACCDeclarativeConstruct>,
----------------
clementval wrote:

It is now parsed successfully without the weird expect END error message. There is no additional semantic check done on it.

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


More information about the flang-commits mailing list