This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: the size of tree_decl
- From: law at redhat dot com
- To: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>
- Cc: Dan Nicolaescu <dann at ics dot uci dot edu>, gcc at gcc dot gnu dot org
- Date: Fri, 14 Feb 2003 16:34:24 -0700
- Subject: Re: the size of tree_decl
- Reply-to: law at redhat dot com
In message <20030214204620.GA26259@gauvain.u-strasbg.fr>, =?iso-8859-1?Q?Pop_S=
E9bastian?= writes:
>On Fri, Feb 14, 2003 at 12:52:23PM -0700, law@redhat.com wrote:
>> that really aren't decls -- if I remember correctly all the "statement"
>> nodes in the C front-end are implemented as DECLs. Ugh.
>>
>
>DEFTREECODE (SWITCH_STMT, "switch_stmt", 'e', 3)
>
>All *_STMT nodes are declared as 'e' (= expressions).
You are correct. My bad. The _STMT nodes are 'e' expressions and their
line number is stored in the complexity field of an expr. For DECL nodes
their locus is stored in the locus field within decl nodes.
My how quickly my memory fades.
jeff