summaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
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