This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: NDEBUG-like macro
- To: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Subject: Re: NDEBUG-like macro
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 16 Apr 1998 19:02:20 -0600
- cc: Mark Mitchell <mmitchell at usa dot net>, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SOL.3.90.980416103727.7938C-100000@hutch.informatik.rwth-aac
hen.de>you write:
> The tree and rtl structures are terribly overloaded.
Very true. Though believe it or not it's a lot better than it used
to be, particularly in the tree structure.
Probably the best thing to come out of the attempt to combine static
variables into a "static block" to reduce address computations was
the cleanups we did to the tree structures.
Due to lameness in obstacks and a need to preserve existing semantics
we had to do a recursive copy of the entire tree structure starting
at each node representing a deferred static variable.
This (of course) sucked up a ton of memory, but it also exposed
things like storing ints into pointers, dangling memory references,
storing rtl in tree nodes, etc etc. I didn't know much about
trees and how to interpret them before I started -- that all changed
by the end of that project! :-)
jeff