https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91584
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 CC| |kargl at gcc dot gnu.org Severity|normal |enhancement --- Comment #1 from kargl at gcc dot gnu.org --- In looking at the gcc.info and gfortran.info pages, I'll suggest that one should avoid the -Warray-bounds option. It appears to be C/C++-centric, where bounds start at 0 instead of one. Use -fcheck=bounds, which is gfortran specific. PS: The only mention of -Warray-bounds in gfortran.info is in the option summary. There is no offer mention. I'll be removing it from the summary.