This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix PR 5582 and 10538, missed uninitialized variable warning
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: 18 Aug 2003 17:09:26 +0200
- Subject: Re: [Patch] Fix PR 5582 and 10538, missed uninitialized variable warning
- Organization: Integrable Solutions
- References: <ECB33C92-D18B-11D7-8DE3-000393A6D2F2@physics.uc.edu>
Andrew Pinski <pinskia@physics.uc.edu> writes:
| On Monday, Aug 18, 2003, at 00:47 US/Eastern, Jason Merrill wrote:
|
| > On Sun, 17 Aug 2003 12:00:27 -0400, Andrew Pinski
| > <pinskia@physics.uc.edu> wrote:
| >
| >>> I don't think it makes sense for this to be conditional on -pedantic;
| >>> warnings have nothing to do with standards conformance. As the PR
| >>> suggests, this should be controlled by a -Wno- flag.
| >>
| >> I had naming things what do you suggest for the name of the flag?
| >
| > How about -Wself-init, which would be included in -Wall?
|
| How about this -Wself-init is not included in -Wall but when it is
| enabled
| it adds a warning about the initialization of variable with it self.
I like much better.
-- Gaby