https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90238
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 CC| |kargl at gcc dot gnu.org Component|fortran |middle-end Severity|normal |enhancement --- Comment #2 from kargl at gcc dot gnu.org --- -Warray-bounds is a generic GCC option, and is used in the middle end for reporting warnings. When you use this option it does not recognize that a Fortran string is not an array. So, it gleefully reports an array bounds option. In other words, either ignore the warning or stop using -Warray-bounds.