re PR tree-optimization/17506 (warning about uninitialized variable points to wrong...
authorJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 29 Aug 2006 15:52:54 +0000 (16:52 +0100)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 29 Aug 2006 15:52:54 +0000 (16:52 +0100)
commit227e9f621bc5717783ef410e3ea7ee95f5227ea0
tree7c990387a481812ec429ef6fcf7b9d2e03aebf82
parent2d9493a481c8a6238f67df5e828a1634862b27ee
re PR tree-optimization/17506 (warning about uninitialized variable points to wrong location)

gcc:

2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
    J"orn Rennecke  <joern.rennecke@st.com>

PR tree-optimization/17506
* tree-ssa.c (warn_uninit): If warning about a location outside of
the current function, note where the variable was declared.

testsuite:

2006-08-29  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
    Kazu Hirata  <kazu@codesourcery.com>

PR tree-optimization/17506
* gcc.dg/pr17506.c: New.

From-SVN: r116564
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr17506.c [new file with mode: 0644]
gcc/tree-ssa.c