aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-01-25 02:13:02 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-01-25 01:13:02 +0000
commitee41133693a47cf67cd3935a31a64bd27375f7f5 (patch)
treeecaff946b7d962ced047842c3680061afb10681d /gcc/ipa-inline.c
parentc422af91adbec73a52b9c5d39edc7d916c2a974c (diff)
downloadgcc-ee41133693a47cf67cd3935a31a64bd27375f7f5.zip
gcc-ee41133693a47cf67cd3935a31a64bd27375f7f5.tar.gz
gcc-ee41133693a47cf67cd3935a31a64bd27375f7f5.tar.bz2
* ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.
From-SVN: r121156
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r--gcc/ipa-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index 430f2ce..5ddbbef 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -973,7 +973,7 @@ cgraph_decide_inlining (void)
XCNEWVEC (struct cgraph_node *, cgraph_n_nodes);
int old_insns = 0;
int i;
- int initial_insns;
+ int initial_insns = 0;
max_count = 0;
for (node = cgraph_nodes; node; node = node->next)