diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-15 10:47:01 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-15 10:47:01 +0000 |
commit | faa80ce8c50777d2257dcc16d67c26656b1e42a7 (patch) | |
tree | 7d066286d4bb53ca31a4472919350483be7a0607 /gcc/sched-deps.c | |
parent | 8ad400f442fd3c173302275672f44e38cef0bb84 (diff) | |
download | gcc-faa80ce8c50777d2257dcc16d67c26656b1e42a7.tar.gz |
PR bootstrap/13692
* sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75915 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 82fef76507d..6c92f968d38 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -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) |