based_loc_descr

Hendrik Greving hendrik.greving.intel@gmail.com
Thu Aug 29 04:18:00 GMT 2013


Does somebody understand what this assertion here enforces? My backend
defines standard register elimination as below.

 gcc_assert ((SUPPORTS_STACK_ALIGNMENT
      && (elim == hard_frame_pointer_rtx
  || elim == stack_pointer_rtx))
             || elim == (frame_pointer_needed
 ? hard_frame_pointer_rtx
 : stack_pointer_rtx));

#define ELIMINABLE_REGS \
{ \
  { ARG_POINTER_REGNUM, STACK_POINTER_REGNUM }, \
  { ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM }, \
  { FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM } \
}

Thanks,
Regards,
Hendrik Greving



More information about the Gcc-help mailing list