aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-10-21 16:40:11 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-10-21 14:40:11 +0000
commit43997658f83d47b02ff6329c2e7e562c68eeb86c (patch)
tree5bfeeb96ed6c2e8ab8b84cc7ba95fd7d61bb3399 /gcc/haifa-sched.c
parent064ee155f8d7dfb0987007caff4eb02b30716e70 (diff)
downloadgcc-43997658f83d47b02ff6329c2e7e562c68eeb86c.zip
gcc-43997658f83d47b02ff6329c2e7e562c68eeb86c.tar.gz
gcc-43997658f83d47b02ff6329c2e7e562c68eeb86c.tar.bz2
* haifa-sched.c (choose_ready): Initialize index.
From-SVN: r72756
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 40a0a76..f75894a 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -2201,7 +2201,7 @@ choose_ready (struct ready_list *ready)
else
{
/* Try to choose the better insn. */
- int index, i;
+ int index = 0, i;
rtx insn;
if (cached_first_cycle_multipass_dfa_lookahead != lookahead)