This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20441] -finit-local-zero is missing from gfortran
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2006 01:38:12 -0000
- Subject: [Bug fortran/20441] -finit-local-zero is missing from gfortran
- References: <bug-20441-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-08-21 01:38 -------
(In reply to comment #3)
> Besides zero initialization (of Real, complex, integer, (what about logical?)),
> a initialization to a (signaling) NaN (for complex, real) would be also nice to
> find uninitialized variables.
Why use -Wuninitialize will warn about those cases (though it can produce some
false positives).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20441