summaryrefslogtreecommitdiff
path: root/gcc/ipa-struct-reorg.c
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-17 17:14:09 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-17 17:14:09 +0000
commitd4138574f5514cf21f3b2d5af1b2926d667ff5db (patch)
tree499cdeb4294c852f9fa3484fc83f9d650f02287d /gcc/ipa-struct-reorg.c
parentdc8c96bbe3904d613e8a0f919da1d8debcb8bd69 (diff)
downloadgcc-d4138574f5514cf21f3b2d5af1b2926d667ff5db.tar.gz
2009-03-17 Kai Tietz <kai.tietz@onevision.com>
* ipa-struct-reorg.c (create_general_new_stmt): Initialize local variable rhs by NULL_TREE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144907 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-struct-reorg.c')
-rw-r--r--gcc/ipa-struct-reorg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-struct-reorg.c b/gcc/ipa-struct-reorg.c
index df34f92beab..ab70c98e9b9 100644
--- a/gcc/ipa-struct-reorg.c
+++ b/gcc/ipa-struct-reorg.c
@@ -1253,7 +1253,7 @@ create_general_new_stmt (struct access_site *acc, tree new_type)
{
tree *pos;
tree new_var = find_new_var_of_type (var, new_type);
- tree lhs, rhs;
+ tree lhs, rhs = NULL_TREE;
gcc_assert (new_var);
finalize_var_creation (new_var);