This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: current_function_decl or cfun->decl?


DJ Delorie <dj@redhat.com> writes:

>> current_function_decl is a #define for cfun->decl, so there is no
>> functional difference.
>
> Er, no...
>
> tree.h:extern GTY(()) tree current_function_decl;
> toplev.c:tree current_function_decl;

Bleah.  I really thought they were a #define.  I don't know what the
difference is, then.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]