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: Inheritance of gfc_symbol / gfc_component


On 16/08/2012 18:25, Janus Weil wrote:
> Hi Paul, hi all,
> 
>>> I would greatly appreciate some general comments on using C++isms in
>>> the Fortran front end (and possibly further ideas in this direction),
>>> and also on the inheritance idea proposed above. Does this make sense
>>> to you? Further thoughts and ideas?
>>
>> ...does it buy us anything in temrs of clarity or efficiency of the
>> compiler?

Maybe it doesn't; on the other hand, the patch is small and doesn't
makes things really worse, so I'm rather in favor of it (the second one
I mean).


> 
> well, I was mostly hoping to reduce code duplication. However, for the
> cases I had in mind, I noticed some minor obstacles, so maybe we just
> forget about it for now ...
> 
For all the cases that I've had in mind, the testsuite noticed some
major obstacles :-(.

Mikael


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