This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: current_function_decl or cfun->decl?
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: DJ Delorie <dj at redhat dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 01 Aug 2003 18:17:51 -0400
- Subject: Re: current_function_decl or cfun->decl?
- Organization: Red Hat Canada
- References: <200308012010.h71KApv21266@greed.delorie.com> <878yqd15c5.fsf@egil.codesourcery.com>
On Fri, 2003-08-01 at 16:38, Zack Weinberg wrote:
> 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.
>
No, it isn't. current_function_decl is a global variable.
Diego.