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?


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


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