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

Andre Kuhlenschmidt via flang-commits flang-commits at lists.llvm.org
Wed Apr 16 12:26:12 PDT 2025


================
@@ -1034,61 +1034,53 @@ void AccAttributeVisitor::AddRoutineInfoToSymbol(
     Symbol &symbol, const parser::OpenACCRoutineConstruct &x) {
----------------
akuhlens wrote:

The code in this routine was previously wrong according to how code was generated for the decls later. Notice the device type clause just takes the first device and throws away the rest.

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


More information about the flang-commits mailing list