[all-commits] [llvm/llvm-project] 69c625: [flang] Fix crash from bug#63099 (gfortran/regress...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Jun 5 12:28:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 69c625bf64f87641c209cf8da8ed52aa56c7336b
https://github.com/llvm/llvm-project/commit/69c625bf64f87641c209cf8da8ed52aa56c7336b
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-06-05 (Mon, 05 Jun 2023)
Changed paths:
M flang/lib/Semantics/data-to-inits.cpp
Log Message:
-----------
[flang] Fix crash from bug#63099 (gfortran/regression/oldstyle_3.f90)
In InitElement() in flang/lib/Semantics/data-to-inits.cpp, don't
assume that values_.Location() can be called until after it has been
verified that values_.IsAtEnd() is not true.
Fixes https://github.com/llvm/llvm-project/issues/63099.
Differential Revision: https://reviews.llvm.org/D152183
More information about the All-commits
mailing list