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: Missing warning?


On Oct  4, 2002, Matthew Wilcox <willy@debian.org> wrote:

> (probably "warning: `x' might be used uninitialized in this function")

>         void *x = x;

I think the last few times this was brought up, there was general
agreement that it was a bug.  If you search the archives you'll
probably find the details.  You'll even find messages from myself in
which I defended the absence of this warning as a means for silencing
the uninitialized warning in situations in which it's too hard to
avoid it otherwise, but I've since agreed it's a bad idea.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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