aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSergei Dyshel <sergeid@il.ibm.com>2008-09-25 11:21:43 +0000
committerRazya Ladelsky <razya@gcc.gnu.org>2008-09-25 11:21:43 +0000
commite76314a76e648a95720fcb672bfe92c4697316b2 (patch)
tree7a10a23d7ddbaffba262ff875ce6b47ca0fb5f8b /gcc
parent2fb16412ad4cd56a8effae8509f0ed3b9aa4621c (diff)
downloadgcc-e76314a76e648a95720fcb672bfe92c4697316b2.zip
gcc-e76314a76e648a95720fcb672bfe92c4697316b2.tar.gz
gcc-e76314a76e648a95720fcb672bfe92c4697316b2.tar.bz2
matrix-reorg.c (transform_allocation_sites): Initializers added to avoid the warning.
2008-09-25 Sergei Dyshel <sergeid@il.ibm.com> * matrix-reorg.c (transform_allocation_sites): Initializers added to avoid the warning. From-SVN: r140661
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/matrix-reorg.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 01aa28e..5e2a5c3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-25 Sergei Dyshel <sergeid@il.ibm.com>
+
+ * matrix-reorg.c (transform_allocation_sites): Initializers
+ added to avoid the warning.
+
2008-09-25 Martin Jambor <mjambor@suse.cz>
* cgraph.c (free_nodes): New variable.
diff --git a/gcc/matrix-reorg.c b/gcc/matrix-reorg.c
index b00a6b9..c1d5ca0 100644
--- a/gcc/matrix-reorg.c
+++ b/gcc/matrix-reorg.c
@@ -2026,7 +2026,7 @@ transform_allocation_sites (void **slot, void *data ATTRIBUTE_UNUSED)
struct cgraph_node *c_node;
struct cgraph_edge *e;
gimple_stmt_iterator gsi;
- struct malloc_call_data mcd;
+ struct malloc_call_data mcd = {NULL, NULL_TREE, NULL_TREE};
HOST_WIDE_INT element_size;
imm_use_iterator imm_iter;