[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
Sat Aug 8 21:16:02 PDT 2026


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

This is better, but there's already `CheckHelper::CheckConflicting()`. Instead of creating a new mechanism, wouldn't it be better to extend the existing mechanism?

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


More information about the flang-commits mailing list