[flang-commits] [flang] [Flang][OpenMP] Prevent ICE for certain constructs in unnamed programs (PR #73938)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Wed Feb 7 08:52:47 PST 2024
================
@@ -25,7 +25,7 @@
template <typename T>
static Fortran::semantics::Scope *GetScope(
Fortran::semantics::SemanticsContext &context, const T &x) {
- std::optional<Fortran::parser::CharBlock> source{GetSource(x)};
+ std::optional<Fortran::parser::CharBlock> source{GetLastSource(x)};
----------------
skatrak wrote:
Ping @klausler, I'd appreciate it if you could let me know whether my previous explanation addresses your concerns. Thanks for your time!
https://github.com/llvm/llvm-project/pull/73938
More information about the flang-commits
mailing list