summaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 15:46:00 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 15:46:00 +0000
commit48deb1a5591bda1400873c2c2db92912da8491e4 (patch)
tree23622e8909e121a67ddba9ea6387cbc543a7abc6 /gcc/ipa-prop.c
parent15b80ab4828571fb026cf487d318fbcc94c734e5 (diff)
downloadgcc-48deb1a5591bda1400873c2c2db92912da8491e4.tar.gz
2009-11-30 Martin Jambor <mjambor@suse.cz>
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
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 6a018f456ea..78269d82537 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -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;