current_function_decl or cfun->decl?

Zack Weinberg zack@codesourcery.com
Sat Aug 2 00:42:00 GMT 2003


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



More information about the Gcc mailing list