This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ACATS c380004


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]