[flang-commits] [flang] [flang][openacc] Allow open acc routines from other modules. (PR #136012)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Wed Apr 16 13:21:11 PDT 2025


================
@@ -4226,6 +4369,8 @@ void Fortran::lower::genOpenACCRoutineConstruct(
                    std::get_if<Fortran::parser::AccClause::Bind>(&clause.u)) {
       if (const auto *name =
               std::get_if<Fortran::parser::Name>(&bindClause->v.u)) {
+        // FIXME: This case mangles the name, the one below does not.
+        // which is correct?
----------------
clementval wrote:

This is correct. bind with a string does not need mangling. bind with a symbol needs mangling. 

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


More information about the flang-commits mailing list