[flang-commits] [flang] [flang][OpenACC] Accept ROUTINE directive within an interface block (PR #206863)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Tue Jun 30 17:55:50 PDT 2026


================
@@ -0,0 +1,35 @@
+! RUN: %flang_fc1 -fopenacc -fdebug-dump-symbols %s 2>&1 | FileCheck %s --implicit-check-not=openACCRoutineInfos
+
+! When the name on an !$acc routine directive in an interface block matches no
+! interface body, flang resolves it the same lenient way it does in every other
+! position: the name is bound to an (implicit) external procedure rather than
+! diagnosed, the directive is accepted without a crash, and the interface body
----------------
clementval wrote:

Sounds good to me

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


More information about the flang-commits mailing list