This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Add force stack align to i386 (1/3)
- To: Daniel Berlin <dberlin at redhat dot com>
- Subject: Re: [PATCH]: Add force stack align to i386 (1/3)
- From: Graham Stott <grahams at redhat dot com>
- Date: Fri, 05 Jan 2001 17:37:12 +0000
- Cc: Bernd Schmidt <bernds at redhat dot com>, gcc-patches at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10101051225330.26222-100000@www.cgsoftware.com>
Dabiel
Daniel Berlin wrote:
>[sni]
> /* Define the offset between two registers, one to be eliminated, and the other
> its replacement, at the start of a routine. */
>
> #define INITIAL_ELIMINATION_OFFSET(FROM, TO, OFFSET) \
> ! if (TARGET_FORCE_STACK_ALIGNMENT) \
> ! (OFFSET) = ix86_initial_elimination_offset_fsa (); \
> ! else \
> ! (OFFSET) = ix86_initial_elimination_offset (FROM, TO);
>
This should be wrapped in a do { .. } while construct.
Graham