[flang-commits] [flang] [flang][cuda] Only apply the implicit data attribute on the component for use_device (PR #192146)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Mon Apr 20 08:49:45 PDT 2026


================
@@ -199,6 +200,8 @@ void DerivedTypeSpec::ReevaluateParameters(SemanticsContext &context) {
   EvaluateParameters(context);
 }
 
+void DerivedTypeSpec::PrepareForScopeClone() { scope_ = nullptr; }
----------------
clementval wrote:

No, since it is a copy of an instantiated one, we want to keep it true. If we set it to false, it breaks. 

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


More information about the flang-commits mailing list