aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-01-15 11:47:01 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2004-01-15 10:47:01 +0000
commitc78661545d58ff402819646d976a5a744526477b (patch)
tree7d066286d4bb53ca31a4472919350483be7a0607 /gcc/sched-deps.c
parent71e6838406deea6cd2609a40ab964da17a2c70e3 (diff)
downloadgcc-c78661545d58ff402819646d976a5a744526477b.zip
gcc-c78661545d58ff402819646d976a5a744526477b.tar.gz
gcc-c78661545d58ff402819646d976a5a744526477b.tar.bz2
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
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 82fef76..6c92f96 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)