ACATS c380004
Robert Dewar
dewar@adacore.com
Tue Jan 11 14:30:00 GMT 2005
Duncan Sands wrote:
> 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.
More information about the Gcc
mailing list