Inheritance of gfc_symbol / gfc_component
Janus Weil
janus@gcc.gnu.org
Thu Aug 16 16:26:00 GMT 2012
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?
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 ...
Cheers,
Janus
More information about the Fortran
mailing list