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/tracer.c | |
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/tracer.c')
0 files changed, 0 insertions, 0 deletions