https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86117
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janus at gcc dot gnu.org --- Comment #2 from janus at gcc dot gnu.org --- (In reply to martin from comment #0) > Compiling the following module with > > gfortran -Og -Wall -fcheck=all -c mod.f90 Out of all the -fcheck options, -fcheck=bounds seems to be the relevant one.