Re: Function argument passing

2009-08-25 Thread Richard Henderson
On 08/23/2009 10:19 PM, Mohamed Shafi wrote: I am getting the following error when i make a function call. (call_insn 18 17 19 3 1.c:29 (set (parallel:DI [ (expr_list:REG_UNUSED (reg:SI 7 d7) (const_int 0 [0x0])) (expr_list:REG_UNUSED (

Re: Function argument passing

2009-08-23 Thread Mohamed Shafi
2009/7/16 Richard Henderson : > On 07/13/2009 07:35 AM, Mohamed Shafi wrote: >> >> So i made both TARGET_STRICT_ARGUMENT_NAMING and >> PRETEND_OUTGOING_VARARGS_NAMED to return false. Is this correct? > > Yes. > >> How to make the varargs argument to be promoted to 32bits when the >> normal argument

Re: Function argument passing

2009-07-15 Thread Richard Henderson
On 07/13/2009 07:35 AM, Mohamed Shafi wrote: So i made both TARGET_STRICT_ARGUMENT_NAMING and PRETEND_OUTGOING_VARARGS_NAMED to return false. Is this correct? Yes. How to make the varargs argument to be promoted to 32bits when the normal argument don't require promotion as mentioned in point