> This patch cleans up nested blocks when there's an unexpected end of a compilation unit (66175), and it handles cleaned-up blocks gracefully (62536). I've run "make check-fortran" with the attached test cases. I have now committed the patch to trunk as revision 227135. Thanks for your contribution! And you’re welcome to repeat that experience anytime :) FYI, I fixed a few minor issues with the patch before committed it (final version attached): - test directive should be { dg-do compile } not { dg-compile } - comment reformatting - missing gcc/testsuite/ChangeLog entries - reformated date and PR entries in ChangeLog Thanks again, FX