]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix error recovery after missing END BLOCK [PR103508]
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 22 Sep 2025 06:33:07 +0000 (07:33 +0100)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 22 Sep 2025 06:33:07 +0000 (07:33 +0100)
commit5e6937b9ab4f752c22b4e2fd0e01836a0df24653
treea3519a1530e6070d3bd197e89388bfee112ecbdf
parent0874adaf698392ea5c23b6787f66c6ecbe6bbeb7
Fortran: Fix error recovery after missing END BLOCK [PR103508]

2025-09-22  Steve Kargl  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/103508
* decl.cc (gfc_match_end): Remove only the current partial
rather than removing the entire sibling chain.

gcc/testsuite/
PR fortran/103508
* gfortran.dg/pr103508.f90: New test.
gcc/fortran/decl.cc
gcc/testsuite/gfortran.dg/pr103508.f90 [new file with mode: 0644]