http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37770
Dmitry Marakasov <amdmi3 at amdmi3 dot ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #5 from Dmitry Marakasov <amdmi3 at amdmi3 dot ru> 2010-10-06 02:22:50 UTC --- Sorry, forgot to finish this one. Yes, the bug is present with gcc 4.2 compiled by hand (tried last revision from gcc-4_2-branch). I've also found a commit that fixed this bug in gcc-4_3-branch with using git repository at git://gcc.gnu.org/git/gcc.git and git bisect: --- 2008-03-25 Richard Guenther <rguent...@suse.de> Backport from mainline: 2008-03-19 Richard Guenther <rguent...@suse.de> PR middle-end/35609 * tree-ssa.c (walk_data): New structure. (warn_uninitialized_var): If not always_executed warn with "maybe" instead of "is". (execute_early_warn_uninitialized): Compute post-dominators. Initialize always_executed before processing each basic block. * gcc.dg/testsuite/uninit-15.c: New testcase. * gcc.dg/testsuite/uninit-16.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_3-bra...@133507 138bc75d-0d04-0410-961f-82ee72b054a4 ---