https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83779
--- Comment #5 from Walter Spector <w6ws at earthlink dot net> --- Thanks for mentioning that, Martin. A couple of us in the project I work on were reviewing the options we specify in our debug builds to try to smoke out problems. We already use options like -Wall, -Wextra and such for both g++ and gfortran. We also use -fbounds-check with gfortran. Just wondering if -fbounds-check would help find things on the c++ side. But seems it doesn't - as documented.