Get function declaration on GCC 3.3

Ian Lance Taylor iant@google.com
Mon Nov 17 06:07:00 GMT 2008


Le Ton Chanh <letonchanh@yahoo.com> writes:

> I am using GCC 3.3. In macro INIT_CUMULATIVE_ARGS(CUM, FNTYPE, LIBNAME, INDIRECT), I want to know the declaration of callee function (fndecl). I know the function get_callee_fndecl(call_expr) to use in this case, but I don't know how to get call_expr in this step.
> I use callee's fndecl to determine whether passing arguments for callee by registers or by stack by initialize CUM perspective.
> Can you help me in this situation? Thanks in advance.

Please never send e-mail messages to both gcc@gcc.gnu.org and
gcc-help@gcc.gnu.org.  Questions about very old releases like 3.3 are
not appropriate for gcc@gcc.gnu.org, which is for the development of
gcc.  I have replied only on gcc-help@gcc.gnu.org.  Thanks.

The answer to your question is that you can't.  This was fixed in gcc
3.4 with this patch:
    http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01490.html

Ian



More information about the Gcc-help mailing list