This is the mail archive of the gcc@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: Should -Wjump-misses-init be in -Wall?


On Tue, Jun 23, 2009 at 11:12 AM, Joe Buck<Joe.Buck@synopsys.com> wrote:
> > But if the initialization is skipped and the variable is then used,
> > won't we get an uninitialized-variable warning?

On Tue, Jun 23, 2009 at 09:32:51AM -0700, Gabriel Dos Reis wrote:
> Did we get any in the cases Ian reported?

Note the second condition I gave: "and the variable is then used".
The new warning just tests the first part: the initialization is
skipped.
 


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