https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97782
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- Created attachment 49540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49540&action=edit Draft patch There are probably more – like 'omp sections', 'omp parallel', if I glanced at it correctly. (Search for 'input_location' after 'gfc_trans_omp_code'.)