ACATS c380004

Duncan Sands duncan.sands@math.u-psud.fr
Tue Jan 11 14:39:00 GMT 2005


Hi Robert,

> > In the dark old days, the GNAT compiler didn't allocate the maximum possible size for records
> > with default discriminants.  They changed it a some point, for efficiency reasons IIRC.
> 
> That's a wrong memory, GNAT has always allocated the maximum size. Any
> other implementation is very error prone and extremely complex, and
> also requires implicit heap allocation which we avoid in GNAT. Really
> allocating the maximum is the only feasible implementation, and it is
> the only one used by current ADa 95 implementations as far as I know.

yes I suppose I am remembering it wrong - it was a long time ago.

All the best,

Duncan.



More information about the Gcc mailing list