Le Sat, Dec 09, 2006 at 12:08:09AM +0100, basile écrivait/wrote: > On Tue, Dec 05, 2006 at 09:06:13PM +0100, I (Basile) wrote in > http://gcc.gnu.org/ml/gcc/2006-12/msg00158.html > > > > > I want to have a GTY() garbage collected structure such that, when it > > is destroyed, some specific routine is called (this should indeed be > > possible, since GGC is a mark& sweep garbage collector, which delete > > individually each dead data).
I forgot to mention that what I am taling about can be viewed as some restricted form of finalized objects (with the important caveat that I don't tackle the difficult issue of what happens when the finalizer change the graph of memory references to GGC objects. I disallow this). > > Zack Weinberg wrote in http://gcc.gnu.org/ml/gcc/2006-12/msg00159.html > > > On the other hand, I sympathize with your goal; I've been idly > > thinking a little myself about the sensibility of using MPFR > > throughout, instead of our bespoke REAL_VALUE_TYPE thing. [I don't > > know if this is actually a good idea yet.] I don't understand very well this REAL_VALUE_TYPE thing. Could you ellaborate, please? I did have a glance into gcc/real.h Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faïencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***