OSDN Git Service

2009-03-17 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 2009 17:14:09 +0000 (17:14 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 2009 17:14:09 +0000 (17:14 +0000)
        * 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

gcc/ChangeLog
gcc/ipa-struct-reorg.c

index 42240dc..55cd434 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-17  Kai Tietz  <kai.tietz@onevision.com>
+
+       * ipa-struct-reorg.c (create_general_new_stmt): Initialize
+       local variable rhs by NULL_TREE.
+
 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/39477
index df34f92..ab70c98 100644 (file)
@@ -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);