[all-commits] [llvm/llvm-project] dfed04: [flang][semantics] fix crash involving equivalence...
Andre Kuhlenschmidt via All-commits
all-commits at lists.llvm.org
Thu Dec 11 09:16:30 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfed044c67b8e01b552b0336adea77ae0da42d1f
https://github.com/llvm/llvm-project/commit/dfed044c67b8e01b552b0336adea77ae0da42d1f
Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
Date: 2025-12-11 (Thu, 11 Dec 2025)
Changed paths:
M flang/lib/Semantics/check-data.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/data-to-inits.h
A flang/test/Semantics/equivalence02.f90
A flang/test/Semantics/equivalence03.f90
Log Message:
-----------
[flang][semantics] fix crash involving equivalences (#168909)
This PR fixes
[#166463](https://github.com/llvm/llvm-project/issues/166463) by only
running ProcessScopes at the end of the semantic analysis. ProcessScopes
does an analysis of the entire symbol table to determine which
equivalence statements have conflicting initializations, but it requires
that all symbols in the equivalence statement have valid sizes. Running
before computing the size and offset made this an invalid assumption.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list