This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Fix PR 5582 and 10538, missed uninitialized variable warning


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]