This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for sibcalls on i386
- From: Andreas Bauer <baueran at in dot tum dot de>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, pizka at informatik dot tu-muenchen dot de, jason dot ozolins at anu dot edu dot au
- Date: Tue, 24 Sep 2002 14:48:34 +1000
- Subject: Re: PATCH for sibcalls on i386
- References: <20020924043140.GC1116@kennel> <3CAED9BE-CF77-11D6-BEFF-000393122612@physics.uc.edu>
> Index: arm/arm.h
> ===================================================================
> ...
> -#define FUNCTION_OK_FOR_SIBCALL(DECL) arm_function_ok_for_sibcall
> ((DECL))
> +#define FUNCTION_OK_FOR_SIBCALL(DECL, EXP) arm_function_ok_for_sibcall
> ((DECL, EXP))
> ...
> and this part:
>
> Index: rs6000/rs6000.h
> ===================================================================
> ....
> -#define FUNCTION_OK_FOR_SIBCALL(DECL) function_ok_for_sibcall ((DECL))
> +#define FUNCTION_OK_FOR_SIBCALL(DECL, EXP) function_ok_for_sibcall
> ((DECL, EXP))
> ...
>
> looks totally wrong, I do not you want to be passing exp to those
> functions.
Argh, that was my cvs-mistake. Sorry! I will repost the patch with the
necessary changes to those files. However, "exp" must be passed, whether
you use it or not is another question... (Why does it matter to you?)
Andi.