[all-commits] [llvm/llvm-project] 29d838: [flang] Fix call to CHECK() on erroneous subroutin...
Pete Steinfeld via All-commits
all-commits at lists.llvm.org
Tue Oct 20 18:12:25 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 29d838310d4521fbd98741267b0a28cee5b56a36
https://github.com/llvm/llvm-project/commit/29d838310d4521fbd98741267b0a28cee5b56a36
Author: Peter Steinfeld <psteinfeld at nvidia.com>
Date: 2020-10-20 (Tue, 20 Oct 2020)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/resolve19.f90
Log Message:
-----------
[flang] Fix call to CHECK() on erroneous subroutine declaration
When processing declarations in resolve-names.cpp, we were returning a
symbol that had SubprogramName details to PushSubprogramScope(), which
expects a symbol with Subprogram details.
I adjusted the code and added a test.
Differential Revision: https://reviews.llvm.org/D89829
More information about the All-commits
mailing list