* sched-rgn.c (find_rgns): Initialize current_edge correctly.

From-SVN: r69595
This commit is contained in:
Zdenek Dvorak 2003-07-20 00:03:37 +02:00 committed by Zdenek Dvorak
parent 026fe6c859
commit 8a6b9b7fb8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* sched-rgn.c (find_rgns): Initialize current_edge correctly.
2003-07-19 Phil Edwards <pme@gcc.gnu.org>
* doc/makefile.texi (restrap, profiledbootstrap): Document targets.

View File

@ -618,7 +618,8 @@ find_rgns (struct edge_list *edge_list, dominance_info dom)
int *max_hdr, *dfs_nr, *stack, *degree;
char no_loops = 1;
int node, child, loop_head, i, head, tail;
int count = 0, sp, idx = 0, current_edge = out_edges[0];
int count = 0, sp, idx = 0;
int current_edge = out_edges[ENTRY_BLOCK_PTR->succ->dest->index];
int num_bbs, num_insns, unreachable;
int too_large_failure;
basic_block bb;