[all-commits] [llvm/llvm-project] b5aea3: [flang] Improve error recovery for bad statement a...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Sep 30 12:37:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b5aea32920ee6874bbdc7d6414039adce1b6c19a
https://github.com/llvm/llvm-project/commit/b5aea32920ee6874bbdc7d6414039adce1b6c19a
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2024-09-30 (Mon, 30 Sep 2024)
Changed paths:
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Parser/stmt-parser.h
A flang/test/Parser/recovery06.f90
Log Message:
-----------
[flang] Improve error recovery for bad statement after CONTAINS (#109698)
After a CONTAINS statement in a program unit, a statement that cannot
begin a subprogram will trigger catastrophic error recovery. But the
compiler is presently emitting multiple errors for the same location
about expected variations of END statements. Emit fewer messages.
Fixes https://github.com/llvm/llvm-project/issues/109609.
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