Probably a fallout of the backport of
r14-4471-g6a8edd50a149f1
Fortran/OpenMP: Fix handling of strictly structured blocks
This showed up as parsing error/fail with
libgomp.fortran/metadirective-1.f90
libgomp.fortran/metadirective-6.f90
gcc/fortran/
* decl.cc (gfc_match_end): Handle unnamed END BLOCK with
metadirectives.
+2023-10-31 Tobias Burnus <tobias@codesourcery.com>
+
+ * decl.cc (gfc_match_end): Handle unnamed END BLOCK with
+ metadirectives.
+
2023-10-30 Tobias Burnus <tobias@codesourcery.com>
* trans-openmp.cc (gfc_trans_omp_clauses): Avoid gfc_evaluate_now
&& state_data->sym->abr_modproc_decl;
}
while (state == COMP_OMP_METADIRECTIVE);
+
+ if (startswith (block_name, "block@"))
+ block_name = NULL;
}
break;
default: