https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79929

--- Comment #17 from janus at gcc dot gnu.org ---
Sidenote: Apparently disabling such warnings for Fortran code is not possible.

$ gfortran-8 c3.f90 -c -O2 -Wno-stringop-overflow

gives me:

f951: Warning: command line option ‘-Wstringop-overflow=0’ is valid for
C/C++/ObjC/ObjC++ but not for Fortran


This is problematic because obviously one can get such warnings on Fortran code
(even without -Wall because -Wstringop-overflow=2 seems to be the default).

Reply via email to