This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38851] [4.4 regression] Compiler warns about uninitialized variable that is an object with a constructor
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2009 20:45:40 -0000
- Subject: [Bug middle-end/38851] [4.4 regression] Compiler warns about uninitialized variable that is an object with a constructor
- References: <bug-38851-17188@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from rguenther at suse dot de 2009-01-25 20:45 -------
Subject: Re: [4.4 regression] Compiler warns about
uninitialized variable that is an object with a constructor
On Sun, 25 Jan 2009, mark at codesourcery dot com wrote:
> ------- Comment #16 from mark at codesourcery dot com 2009-01-25 20:03 -------
> Subject: Re: [4.4 regression] Compiler warns about
> uninitialized variable that is an object with a constructor
>
> rguenther at suse dot de wrote:
>
> > It's a P1 defect as we didn't warn for uninitialized structure
> > uses in any previous relelase. While we can argue that it is safe
> > to downgrade this to P2 I think we should at least try to fix this
> > issue for 4.4.0.
>
> I don't mind fixing it, of course, and it would certainly be better to
> do so. But, at the end of the day, if everything else is ready, I'd be
> opposed to holding up the release for this.
I agree. Sometimes having one more priority inbetween P2 and P1 would
be nice ;)
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38851