RE: type argument in FUNCTION_ARG macro

2012-05-04 Thread BELBACHIR Selim
Ok thanks, I'll keep on with plan B (INIT_CUMULATIVE_LIBCALL_ARGS with special libcall handling) Selim -Message d'origine- De : Ian Lance Taylor [mailto:i...@google.com] Envoyé : vendredi 4 mai 2012 15:58 À : BELBACHIR Selim Cc : gcc@gcc.gnu.org Objet : Re: type a

Re: type argument in FUNCTION_ARG macro

2012-05-04 Thread Ian Lance Taylor
BELBACHIR Selim writes: > I'm working on an architecture where the calling convention depends on the > type of the parameter (i.e. pointers are passed into $C regs and non-pointers > are passed into $R regs). I've implemented this difference by using the > POINTER_TYPE_P() macro on the 'type'

RE: type argument in FUNCTION_ARG macro

2012-05-04 Thread BELBACHIR Selim
That's the only option ? Is there a more general method to do this ? -Message d'origine- De : amyl...@spamcop.net [mailto:amyl...@spamcop.net] Envoyé : vendredi 4 mai 2012 15:48 À : BELBACHIR Selim Cc : gcc@gcc.gnu.org Objet : Re: type argument in FUNCTION_ARG macro Quoting

Re: type argument in FUNCTION_ARG macro

2012-05-04 Thread amylaar
Quoting BELBACHIR Selim : Any ideas on how to get around this problem? You can look at the name of library functions.