Re: Get function declaration on GCC 3.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Ton Chanh <letonchanh@xxxxxxxxx> 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@xxxxxxxxxxx and
gcc-help@xxxxxxxxxxxx  Questions about very old releases like 3.3 are
not appropriate for gcc@xxxxxxxxxxx, which is for the development of
gcc.  I have replied only on gcc-help@xxxxxxxxxxxx  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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux