On Thu, Apr 17, 2014 at 10:14 AM, DJ Delorie <d...@redhat.com> wrote:
>
> The rx back-end doesn't define TARGET_FRAME_POINTER_REQUIRED, as the
> documentation says the compiler handles target-independent reasons why
> there needs to be a frame pointer.  But, the default
> TARGET_FRAME_POINTER_REQUIRED just returns false - shouldn't it, by
> default, check for calls_alloca ?

calls_alloce is checked where frame_pointer_needed is set, in
ira_setup_eliminable_regset in ira.c.

TARGET_FRAME_POINTER_REQUIRED only needs to handle target-specific
conditions.

Ian

Reply via email to