[flang-commits] [flang] [flang][OpenACC] Accept ROUTINE directive within an interface block (PR #206863)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Tue Jun 30 17:51:06 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
----------------
eugeneepshteyn wrote:
I'll do it as a separate PR, because I want to check if I can also cover other ACC constructs that need to have name mismatch checked.
https://github.com/llvm/llvm-project/pull/206863
More information about the flang-commits
mailing list