aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2009-09-10 14:46:31 -0700
committerRichard Henderson <rth@gcc.gnu.org>2009-09-10 14:46:31 -0700
commit68bcdeed116bbf65cb4ed8a4455cb1d5a40c9f25 (patch)
tree4f3c55a05c7a3ed759a48f9331f2f72cc2903d9a
parentad42ff1e07cf3a19669ba9d11a89a26d2eff99d4 (diff)
downloadgcc-68bcdeed116bbf65cb4ed8a4455cb1d5a40c9f25.zip
gcc-68bcdeed116bbf65cb4ed8a4455cb1d5a40c9f25.tar.gz
gcc-68bcdeed116bbf65cb4ed8a4455cb1d5a40c9f25.tar.bz2
* print-rtl.c (print_rtx): Fix JUMP_LABEL index.
From-SVN: r151619
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/print-rtl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c97ff8a..f5724f5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-10 Richard Henderson <rth@redhat.com>
+
+ * print-rtl.c (print_rtx): Fix JUMP_LABEL index.
+
2009-09-10 Jason Merrill <jason@redhat.com>
* tree.c (chain_index): New fn.
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index cb09597..7652cf6 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -305,7 +305,7 @@ print_rtx (const_rtx in_rtx)
break;
}
}
- else if (i == 9 && JUMP_P (in_rtx) && XEXP (in_rtx, i) != NULL)
+ else if (i == 8 && JUMP_P (in_rtx) && XEXP (in_rtx, i) != NULL)
/* Output the JUMP_LABEL reference. */
fprintf (outfile, "\n -> %d", INSN_UID (XEXP (in_rtx, i)));
else if (i == 0 && GET_CODE (in_rtx) == VALUE)