This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [Patch,Fortran] PR41582 allocate patch for CLASS


>> 2) Add a 'size' field to the class container. Advantage: Cleaner code,
>> better performance. Downside: Larger class container. (Ideally this
>> field could be in the vtable, so that it does not need to be stored
>> for each class variable, but only once.)
>
> I would go for this one, for the time being. ?It has the advantage of
> considerable simplicity.

Agreed.


> Having read up a bit on the g++ implementation,

For those who have not done this kind of research: Could you share
your findings?


> PS Do you want to do it or shall I?

I can do it. Maybe you can take care of the TBP problems instead, e.g.
PR41556, PR41648 and PR41656.


Thanks,
Janus


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