diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-10 18:46:10 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-10 18:46:10 +0000 |
commit | de9a4397e956637cb26a9d6144ccc51a090cad68 (patch) | |
tree | 2e853c76bf4b389350eb7d5baab1a61affb8af4e /gcc/testsuite/gnat.dg/exp0_eval.adb | |
parent | 21c9aaf983c7c43e78893a24be40634adc443614 (diff) | |
download | gcc-de9a4397e956637cb26a9d6144ccc51a090cad68.zip gcc-de9a4397e956637cb26a9d6144ccc51a090cad68.tar.gz gcc-de9a4397e956637cb26a9d6144ccc51a090cad68.tar.bz2 |
re PR middle-end/20644 (bogus uninitialized warning on unused variable)
2008-08-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/20644
* tree-ssa.c (struct walk_data): Add new flag
warn_possibly_uninitialized.
(warn_uninitialized_var): Use it.
(warn_uninitialized_vars): New.
(execute_early_warn_uninitialized): Call it.
(execute_late_warn_uninitialized): Likewise.
testsuite/
* gcc.dg/uninit-pr20644-O0.c: New.
* gcc.dg/uninit-pr20644.c: New.
From-SVN: r138933
Diffstat (limited to 'gcc/testsuite/gnat.dg/exp0_eval.adb')
0 files changed, 0 insertions, 0 deletions