https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80545
--- Comment #4 from janus at gcc dot gnu.org --- (In reply to Martin Sebor from comment #3) > Patch posted for review: > https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01544.html It seems this patch has been committed as part of r247401 (but unfortunately not mentioned in the ChangeLog). However, I still see warnings like: f951: Warning: ‘__builtin_memset’ writing between 8 and 17179869176 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] in Fortran code with a recent trunk build: gcc version 8.0.0 20170831 (experimental) [trunk revision 251566] (GCC) I see that there are two entries for Wstringop-overflow in c.opt, but only one of them has LangEnabledBy(). Could that be the problem?