This is the mail archive of the gcc-patches@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]

Re: [PATCH]: Add force stack align to i386 (1/3)


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

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