]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/13692 (ICE in schedule_insns, at sched-rgn.c:2743 with stage1 compile...
authorJan Hubicka <jh@suse.cz>
Thu, 15 Jan 2004 10:47:01 +0000 (11:47 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 15 Jan 2004 10:47:01 +0000 (10:47 +0000)
PR bootstrap/13692
* sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
previous patch.

From-SVN: r75915

gcc/ChangeLog
gcc/sched-deps.c

index abafe89b02dc7387bccacd29bad4167a61c1ef1e..821accb63ef8b668fad24477eb3ffc5eb4c23c4d 100644 (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
index 82fef76507dcc2c05dc26fa84e9fad74b1608a4b..6c92f968d389ba0317f54c49fb3599e67e6475ff 100644 (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)