summaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-11 19:39:10 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-11 19:39:10 +0000
commit59a373e1ed20a12dd60b3901723441adda8f08d8 (patch)
tree06f4db8c6977880cb4067c089f7ce442731cb60d /gcc/print-rtl.c
parent3d5d446703d3c63c49be42d2df1380c64f56f845 (diff)
downloadgcc-59a373e1ed20a12dd60b3901723441adda8f08d8.tar.gz
* print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of
XEXP (in_rtx, 8). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 7652cf60bfe..a75442eb6c7 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -305,9 +305,9 @@ print_rtx (const_rtx in_rtx)
break;
}
}
- else if (i == 8 && JUMP_P (in_rtx) && XEXP (in_rtx, i) != NULL)
+ else if (i == 8 && JUMP_P (in_rtx) && JUMP_LABEL (in_rtx) != NULL)
/* Output the JUMP_LABEL reference. */
- fprintf (outfile, "\n -> %d", INSN_UID (XEXP (in_rtx, i)));
+ fprintf (outfile, "\n -> %d", INSN_UID (JUMP_LABEL (in_rtx)));
else if (i == 0 && GET_CODE (in_rtx) == VALUE)
{
#ifndef GENERATOR_FILE