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]

Re: Proposed new tree node for gcc


Jeffrey A Law <law@cygnus.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.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner


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