This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stack-protection vs alloca vs dwarf2


On Thu, Apr 17, 2014 at 10:14 AM, DJ Delorie <dj@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]