When I use -Wuninitialized without -O, gfortran says f951: warning: -Wuninitialized is not supported without -O This is with GNU Fortran 95 (GCC 4.1.0 20050727 (experimental)) For debugging, I do not want optimisation, because this makes debugging more difficult. On the other hand I do want warnings about uninitialised variables.
-- Summary: -Wuninitialized could be supported without -O Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schnetter at aei dot mpg dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23146