[flang-commits] [flang] [Flang][OpenMP][Semantics] Warn about non-declare target global variable usage in declare target device functions (PR #223804)
Michael Klemm via flang-commits
flang-commits at lists.llvm.org
Thu Sep 24 06:55:04 PDT 2026
================
@@ -0,0 +1,42 @@
+! RUN: split-file %s %t
----------------
mjklemm wrote:
I think you will also need to have a test for USE renaming, e.g. `use bla, only: foo => bar`. That should also trigger the warning as the `declare target` is supposed to be inherited.
https://github.com/llvm/llvm-project/pull/223804
More information about the flang-commits
mailing list