https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44265
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22202|0 |1 is obsolete| | --- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Created attachment 36666 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36666&action=edit Updated patch I have updated the patch on revision r229946. I have a regression for gfortran.dg/pr65045.f90. Without the patch the errors are ... /opt/gcc/p_work/gcc/testsuite/gfortran.dg/pr65045.f90:11:6: end if ! { dg-error "Expecting END BLOCK statement" } 1 Error: Expecting END BLOCK statement at (1) /opt/gcc/p_work/gcc/testsuite/gfortran.dg/pr65045.f90:13:8: print*,i ! { dg-error "not appropriate for an expression" } 1 Error: Symbol 'i' at (1) is not appropriate for an expression With the patch I have two more errors /opt/gcc/p_work/gcc/testsuite/gfortran.dg/pr65045.f90:11:6: end if ! { dg-error "Expecting END BLOCK statement" } 1 Error: Expecting END BLOCK statement at (1) /opt/gcc/p_work/gcc/testsuite/gfortran.dg/pr65045.f90:12:3: end block i 1 Error: Expecting END PROGRAM statement at (1) /opt/gcc/p_work/gcc/testsuite/gfortran.dg/pr65045.f90:13:8: print*,i ! { dg-error "not appropriate for an expression" } 1 Error: Symbol at (1) is not appropriate for an expression f951: Error: Unexpected end of file in '/opt/gcc/p_work/gcc/testsuite/gfortran.dg/pr65045.f90' I don't understand why the patch changes the errors, but the test can be easily adjusted.