https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71065
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> --- Fortran ======= Should be complete with: * the commit r14-2754-g2e31fe431b08b0 in comment 5 (checking for tailing executable statements + tailing) * A follow-up testcase fix in commit r14-2759-g50656980497d77 * the commit r14-2761-g09dda270380fe1 in comment 6 (also rejecting declarations before 'teams'). C/C++ - unimplemented ===== For C/C++, something similar to Fortran is needed. Including rejecting bare ';' statements while properly handling lambdas, templates etc.