I want to design a backend on GCC which has following feature: The functions which have the attribute "pass_in_reg" (the attribute I defined) will pass their arguments in registers; otherwise, they will pass arguments in stack. Now I can do that, but the callee functions don't know the position of arguments passing from caller exactly, it's wrong. Does GCC support to do that? Can anyone help me? Thanks in advance. Le Ton Chanh email:letonchanh at yahoo dot com