------- Comment #1 from steven at gcc dot gnu dot org 2005-12-27 12:22 ------- That happens because data flow information is used to find uninitialized variables. Some folks argue that this by itself is a bug, and that it should be entirely up to the front end to diagnose uninitialized variables. But then a lot of warnings could not be issued because the front ends don't have the means to compute which variables are initialized on one path through the program but not on another.
In short, this is the result of a design decision. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25575