public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/20441] -finit-local-zero is missing from gfortran
Date: Mon, 27 Nov 2006 16:03:00 -0000 [thread overview]
Message-ID: <20061127160247.23390.qmail@sourceware.org> (raw)
In-Reply-To: <bug-20441-6528@http.gcc.gnu.org/bugzilla/>
------- Comment #5 from burnus at gcc dot gnu dot org 2006-11-27 16:02 -------
> > Besides zero initialization [...] 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).
-Wuninitialize does not always work (false negative). Or how do you expect a
compiler to find the problem in such cases:
real :: r
call myFunc(r, .true.)
contains
subroutine myFunc(r,l)
real, intent(inout) :: r
logical :: l
if(l) then
r = r**2
else
r = 5
end if
end subroutine
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20441
next prev parent reply other threads:[~2006-11-27 16:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-20441-6528@http.gcc.gnu.org/bugzilla/>
2006-02-07 12:48 ` fxcoudert at gcc dot gnu dot org
2006-08-20 20:51 ` tobias dot burnus at physik dot fu-berlin dot de
2006-08-21 1:38 ` pinskia at gcc dot gnu dot org
2006-11-27 16:03 ` burnus at gcc dot gnu dot org [this message]
2006-11-27 16:47 ` pinskia at gcc dot gnu dot org
2006-11-30 22:57 ` tkoenig at gcc dot gnu dot org
2007-06-18 16:23 ` langton at gcc dot gnu dot org
2007-08-17 20:15 ` patchapp at dberlin dot org
2007-08-20 12:29 ` arnaud02 at users dot sourceforge dot net
2007-08-20 15:07 ` langton at gcc dot gnu dot org
2007-09-21 2:34 ` langton at gcc dot gnu dot org
2007-09-21 2:40 ` langton at gcc dot gnu dot org
2005-03-12 17:11 [Bug fortran/20441] New: " pinskia at gcc dot gnu dot org
2005-03-12 22:54 ` [Bug fortran/20441] " tobi at gcc dot gnu dot org
2005-03-14 18:05 ` dir at lanl dot gov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061127160247.23390.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).