X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gcc%2Fdwarf2out.c;h=835e4ecd88405133af7370959c17604d791a9791;hb=7263c6d715f45580abda86e3617804524d28853b;hp=f9a1e70e58010af8e9199bebab9b3b289611bd19;hpb=5fb8060d5b57061e6b683aebdd04a915473963f6;p=gcc.git diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index f9a1e70e580..835e4ecd884 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -10408,8 +10408,8 @@ based_loc_descr (rtx reg, HOST_WIDE_INT offset, } else if (!optimize && fde - && (fde->drap_reg == REGNO (reg) - || fde->vdrap_reg == REGNO (reg))) + && (fde->drap_reg == dwarf_frame_regnum (REGNO (reg)) + || fde->vdrap_reg == dwarf_frame_regnum (REGNO (reg)))) { /* Use cfa+offset to represent the location of arguments passed on the stack when drap is used to align stack.