Am I the only one missing the previous message from CBF?
Joe.
-----Original Message----- From: Frank Heckenbach [SMTP:frank@g-n-u.de] Sent: Friday, February 15, 2002 10:47 PM To: gpc@gnu.de; cbfalconer@worldnet.att.net Subject: Re: gcc-3+
CBFalconer wrote:
I never heard of an 'obstack'.
I guess not. It's a GNU invention, and I haven't seen it used anywhere but in GCC itself (prior to version 3). Actually, now that you mention it, they're not much different from Mark/Release except that they support several independent instances.
P4 did most of this with mark/release, which sufficed, but is usually incompatible with new/dispose (another subject).
FWIW, in GPC(*) they are compatible, but in a rather inefficient way (i.e., Release just does a series of Dispose calls internally).
(*) Here I mean for GPC programs, not in GPC internally, of course.
Are we talking about the same things?
I think so, and after dealing with some of the more nasty problems caused by obstacks and leading to compiler crashed that are hard to debug (like many MM related problems, because the symptoms ofter occur much later than the problem), I really like to get rid of them.
Frank
-- Frank Heckenbach, frank@g-n-u.de http://fjf.gnu.de/ GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)