missed uninitialised variable warning

Alexandre Oliva aoliva@redhat.com
Mon Aug 4 16:34:00 GMT 2003


On Aug  4, 2003, Andrew Pinski <pinskia@physics.uc.edu> wrote:

> Here is a patch which should warn about more complicated expressions.

I get the impression that, with your patch, we'd get a warning for this:

void *x = &x;

which shouldn't be warned about, IMO.

-- 
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



More information about the Gcc mailing list