public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Missing "var is used uninitialized" warning?
@ 2011-09-17 20:33 Georg-Johann Lay
  2011-09-17 20:35 ` Jonathan Wakely
  0 siblings, 1 reply; 5+ messages in thread
From: Georg-Johann Lay @ 2011-09-17 20:33 UTC (permalink / raw)
  To: gcc-help

Hi, compiled with -Wall -Wextra the wollowing lines don't complain about 
a being used uninitialized.  Tried with 4.5 and 4.6.  Am I missing 
something?

int func (void)
{
     int a = a;

     return a;
}

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-18 14:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-17 20:33 Missing "var is used uninitialized" warning? Georg-Johann Lay
2011-09-17 20:35 ` Jonathan Wakely
2011-09-17 20:43   ` Georg-Johann Lay
2011-09-17 20:48     ` Jonathan Wakely
2011-09-18 14:38       ` Georg-Johann Lay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).