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

via flang-commits flang-commits at lists.llvm.org
Sat Aug 8 22:50:11 PDT 2026


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

Yes, I tried that approach. However, control reaches that point only after the current crash occurs, so we need to detect and handle these conflicting attributes earlier in the flow.

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


More information about the flang-commits mailing list