https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103914
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Priority|P3 |P5 Ever confirmed|0 |1 Last reconfirmed| |2022-01-05 --- Comment #1 from anlauf at gcc dot gnu.org --- (In reply to xiao....@compiler-dev.com from comment #0) > I have some questions: > why the option "-fcheck=do" do not take effect for "parallel do"? Just an observation: The code for ordinary do loops is generated in gfc_trans_do(), which also adds code for runtime checking. The code for OpenMP annotated loops is generated in gfc_trans_omp_do(). There appears to be no runtime checking implemented for this type of loops.