https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124041

--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
  if (regno == SP_REGNUM)
    /* The purpose of comparing with ptr_mode is to support the
       global register variable associated with the stack pointer
       register via the syntax of asm ("wsp") in ILP32.  */
    return mode == Pmode || mode == ptr_mode;

  if (regno == FRAME_POINTER_REGNUM || regno == ARG_POINTER_REGNUM)
    return mode == Pmode;


Oh wait FRAME_POINTER_REGNUM is SFP_REGNUM.
I had missed that :).

Reply via email to