This is the mail archive of the
mailing list for the GCC project.
Re: Proposed new tree node for gcc
- To: egcs at cygnus dot com
- Subject: Re: Proposed new tree node for gcc
- From: Per Bothner <bothner at cygnus dot com>
- Date: Sat, 28 Mar 1998 01:14:09 -0800
Jeffrey A Law <email@example.com> writes:
> Why not just define a new structure and add it to the tree_node
> union? You could make the line/column #s bitfields.
We could do that, but it would waste one word per EXPR_WITH_FILE_LOCATION
node. Same reason for using the TREE_CHAIN for the filename.
One might say that this is excessive or premature space optimization.
However, we know that many large compiles have problems due to large
memory usage, so we might as well be economical, especially when
there is no real reason not to be.
Cygnus Solutions firstname.lastname@example.org http://www.cygnus.com/~bothner