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:

> What's the difference? 

current_function_decl is a #define for cfun->decl, so there is no
functional difference.

> Which is the preferred one to use, or how do you decide which to
> use?

I'd like to see transition to cfun->decl because it's shorter and
visible to gdb, but that's just me.

zw


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