diff options
author | Richard Guenther <rguenther@suse.de> | 2008-03-19 10:44:52 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-03-19 10:44:52 +0000 |
commit | 8cb3ee3785019dc4b2566360816f0b83aeea4e2e (patch) | |
tree | c2091432f1378f837c2a13f54a2dd45d2c6b2193 /gcc/ChangeLog | |
parent | 21c2d075c06a1b858bd12831dff8ff2786d394fd (diff) | |
download | gcc-8cb3ee3785019dc4b2566360816f0b83aeea4e2e.zip gcc-8cb3ee3785019dc4b2566360816f0b83aeea4e2e.tar.gz gcc-8cb3ee3785019dc4b2566360816f0b83aeea4e2e.tar.bz2 |
re PR tree-optimization/35609 ("is used uninitialized in this function" should be may warning)
2008-03-19 Richard Guenther <rguenther@suse.de>
PR middle-end/35609
* tree-ssa.c (always_executed): New global flag.
(warn_uninitialized_var): If !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.
From-SVN: r133341
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3601a7..0dc711d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2008-03-19 Richard Guenther <rguenther@suse.de> + + PR middle-end/35609 + * tree-ssa.c (always_executed): New global flag. + (warn_uninitialized_var): If !always_executed warn with "maybe" + instead of "is". + (execute_early_warn_uninitialized): Compute post-dominators. + Initialize always_executed before processing each basic block. + 2008-03-18 Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> PR target/35504 |