This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: builtin_return_addr vs frame_pointer_needed vs -O3
- To: rth at redhat dot com
- Subject: Re: builtin_return_addr vs frame_pointer_needed vs -O3
- From: DJ Delorie <dj at redhat dot com>
- Date: Wed, 31 Jan 2001 21:22:44 -0500
- CC: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <200101312226.RAA29943@greed.delorie.com> <20010131170452.A13854@redhat.com>
It does fix 20010122-1, though :-)
> * config/i386/i386.c (ix86_frame_pointer_required): New.
> (ix86_setup_frame_addresses): New.
> (struct machine_funciton): Add accesses_prev_frame.
> * config/i386/i386.h (FRAME_POINTER_REQUIRED): Call
> ix86_frame_pointer_required.
> (SUBTARGET_FRAME_POINTER_REQUIRED): New.
> (SETUP_FRAME_ADDRESSES): New.
> * config/i386/i386-protos.h: Update.
> * config/i386/sco5.h (SUBTARGET_FRAME_POINTER_REQUIRED): Rename
> from FRAME_POINTER_REQUIRED.
> * config/i386/svr3gas.h: Likewise.
> * config/i386/sysv3.h: Likewise.
> * config/i386/v3gas.h: Likewise.