This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Uninitialized warnings
- To: Carlo Wood <carlo at alinoe dot com>
- Subject: Re: Uninitialized warnings
- From: Dale Johannesen <dalej at apple dot com>
- Date: Tue, 17 Jul 2001 16:02:11 -0700
- Cc: Kevin Atkinson <kevina at users dot sourceforge dot net>, Joern Rennecke <amylaar at redhat dot com>, Joe Buck <jbuck at synopsys dot COM>, gcc at gcc dot gnu dot org
On Tuesday, July 17, 2001, at 03:33 PM, Carlo Wood wrote:
> On Tue, Jul 17, 2001 at 09:51:06AM -0700, Dale Johannesen wrote:
>> we're the first people to think of this, which gives me pause. Is a
>> patch that checks for uninitalized variables even without optimization
>> likely to be accepted?
>
> Please don't add any warning that can generate false positives.
> I'd rather have no warning at all for 100 actual bugs than
> 100 correct warnings and a false positive.
Believe it or not, I agree with you, but I'm definitely in a small
minority (1?) around here. Is there a consensus on how the
uninitialized-variable check should behave?