https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103914
--- Comment #3 from xiao....@compiler-dev.com <xiao....@compiler-dev.com> --- (In reply to xiao....@compiler-dev.com from comment #2) > Thanks a lot. (In reply to anlauf from comment #1) > (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. Thanks a lot.