[flang-commits] [flang] [flang][Semantics] Avoid crash when pointer init follows PARAMETER with same name (PR #211604)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Sun Aug 9 05:35:44 PDT 2026


================
@@ -3809,6 +3746,31 @@ bool ScopeHandler::CheckDuplicatedAttrs(
   return ok;
 }
 
+void ScopeHandler::CheckConflictingAttrs(
----------------
eugeneepshteyn wrote:

What about replacing the old checking mechanism with the new one? In fact, if your new mechanism fires earlier, does the old one even get invoked?

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


More information about the flang-commits mailing list