re PR bootstrap/13692 (ICE in schedule_insns, at sched-rgn.c:2743 with stage1 compiler compiling crtstuff.c)

PR bootstrap/13692
	* sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
	previous patch.

From-SVN: r75915
This commit is contained in:
Jan Hubicka 2004-01-15 11:47:01 +01:00 committed by Jan Hubicka
parent 71e6838406
commit c78661545d
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-01-15 Jan Hubicka <jh@suse.cz>
PR bootstrap/13692
* sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
previous patch.
2004-01-15 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after

View File

@ -545,7 +545,7 @@ sched_analyze_1 (struct deps *deps, rtx x, rtx insn)
cselib_lookup (XEXP (t, 0), Pmode, 1);
XEXP (t, 0) = cselib_subst_to_values (XEXP (t, 0));
}
XEXP (t, 0) = canon_rtx (XEXP (t, 0));
t = canon_rtx (t);
if (deps->pending_lists_length > MAX_PENDING_LIST_LENGTH)
{
@ -687,7 +687,7 @@ sched_analyze_2 (struct deps *deps, rtx x, rtx insn)
cselib_lookup (XEXP (t, 0), Pmode, 1);
XEXP (t, 0) = cselib_subst_to_values (XEXP (t, 0));
}
XEXP (t, 0) = canon_rtx (XEXP (t, 0));
t = canon_rtx (t);
pending = deps->pending_read_insns;
pending_mem = deps->pending_read_mems;
while (pending)