OSDN Git Service

2009-11-30 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 15:46:00 +0000 (15:46 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 15:46:00 +0000 (15:46 +0000)
PR middle-end/42206
* ipa-prop.c (ipa_write_node_info): Initialize note_count to zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154820 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-prop.c

index 884d015..0995c52 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-30  Martin Jambor  <mjambor@suse.cz>
+
+       PR middle-end/42206
+       * ipa-prop.c (ipa_write_node_info): Initialize note_count to zero.
+
 2009-11-30  Jakub Jelinek  <jakub@redhat.com>
 
        * ipa-reference.c (propagate): Only dump bitmaps if computed.
index 6a018f4..78269d8 100644 (file)
@@ -2008,7 +2008,7 @@ ipa_write_node_info (struct output_block *ob, struct cgraph_node *node)
   int j;
   struct cgraph_edge *e;
   struct bitpack_d *bp;
-  int note_count;
+  int note_count = 0;
   struct ipa_param_call_note *note;
 
   encoder = ob->decl_state->cgraph_node_encoder;