Files
ShashwathiNavada aee84917ea [Flang][Semantics] Fix crash on invalid function result declaration (#194648)
Fixes https://github.com/llvm/llvm-project/issues/194596.

When the function result symbol is encountered while the compiler is
already completing the function result type, flang could recursively
re-enter _CompleteFunctionResultType()_ and crash on invalid code.

Instead of crashing on conflicting declarations, flang now reports an
“already declared” error and stops further recursion.
2026-04-29 09:11:46 -05:00
..