[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
Sun Aug 9 06:52:08 PDT 2026
================
@@ -3809,6 +3746,31 @@ bool ScopeHandler::CheckDuplicatedAttrs(
return ok;
}
+void ScopeHandler::CheckConflictingAttrs(
----------------
shivaramaarao wrote:
I guess this check is still required for the declarations like
real, pointer, allocatable :: pointerAllocatableField
The checks I have added are at the time of resolving names and are for declarations like
parameter(i=1)
integer, pointer :: i => t
https://github.com/llvm/llvm-project/pull/211604
More information about the flang-commits
mailing list