diff options
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 8916305..f95981b 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -3624,7 +3624,7 @@ convert_debug_memory_address (enum machine_mode mode, rtx x, return SUBREG_REG (x); break; case LABEL_REF: - temp = gen_rtx_LABEL_REF (mode, XEXP (x, 0)); + temp = gen_rtx_LABEL_REF (mode, LABEL_REF_LABEL (x)); LABEL_REF_NONLOCAL_P (temp) = LABEL_REF_NONLOCAL_P (x); return temp; case SYMBOL_REF: |