https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956
--- Comment #26 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Patch at https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00619.html rejected at https://gcc.gnu.org/ml/fortran/2017-03/msg00052.html due to runtime overhead. Maybe it would be possible to suppress the warnings by enclosing the offending lines with #pragma GCC diagnostic push #pragma GCC ignored "-Wmaybe-uninitialized" ... #pragma GCC diagnostic pop I'll try to work out a patch tonight.