current_function_decl or cfun->decl?

DJ Delorie dj@redhat.com
Fri Aug 1 22:59:00 GMT 2003


> 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;

$ grep current_function_decl *.[ch] | grep define
dbxout.c:#define FORCE_TEXT function_section (current_function_decl);



More information about the Gcc mailing list