tree-ssa.c (execute_early_warn_uninitialized): Pass context node to talk_tree as...
authorPer Bothner <per@bothner.com>
Tue, 5 Apr 2005 18:24:32 +0000 (11:24 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Tue, 5 Apr 2005 18:24:32 +0000 (11:24 -0700)
commitbb0a4525ce132373fce79d306d2754be2fa50892
treeb460bf328e8c879dc48f2b59ddc97103ceb3e8c3
parent3d3c0aeaf2c0512bc7d1d2ddc36821b03996a6bb
tree-ssa.c (execute_early_warn_uninitialized): Pass context node to talk_tree as 'data' parameter, rather than EXPR_LOCUS.

* tree-ssa.c (execute_early_warn_uninitialized): Pass context node
to talk_tree as 'data' parameter, rather than EXPR_LOCUS.
(warn_uninit): Get EXPR_LOCUS from context now instead.
This fixes a USE_MAPPED_LOCATION testsuite failure.

* tree-ssa.c (warn_uninitialized_var): Remove useless local.

From-SVN: r97644
gcc/ChangeLog
gcc/tree-ssa.c