[Fortran-Experiments]: patch

Christopher D. Rickett crickett@lanl.gov
Mon Feb 26 17:57:00 GMT 2007



On Mon, 26 Feb 2007, Tobias Burnus wrote:

> Hi Chris,
>
> Christopher D. Rickett wrote:
>>> - nested interfaces do not work yet,
>>> http://gcc.gnu.org/ml/fortran/2007-02/msg00535.html
>> did you apply your proposed patch for bind(c) dummy procedures?
> Yes, I applied the big patch.

does that include your addition to check_conflict to allow dummy 
procedures to have bind(c)?

>> we could further improve this by adding some sort of character that is
>> invalid for C names just to ensure the C programmer can't call it by
>> it's mangled name either.
> I don't think that is needed.

also, i wanted comments about binding labels in general.  right now, i 
only consider the binding label field if the symbol is BIND(C) or from the 
iso_c_binding module.  however, if the compiler wants to assign a binding 
label w/o being either of these, then i can simply consider the binding 
label if it's non-null.  this should easily allow setting of binding 
labels for library routines.  does anyone have objections or comments?

Chris



More information about the Fortran mailing list