Commit 9dd7d977 by Martin Jambor Committed by Martin Jambor

re PR middle-end/42206 (ipa-prop.c: use of uninitialised local data)

2009-11-30  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/42206
	* ipa-prop.c (ipa_write_node_info): Initialize note_count to zero.

From-SVN: r154820
parent eaf18088
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.
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment