------- Comment #5 from burnus at gcc dot gnu dot org 2007-11-19 21:27 ------- Ok. Found it in "15.5.2 Binding labels for procedures" of the Fortran 2008 draft with the expected wording:
"If a procedure has the BIND attribute with no NAME= specifier, and the procedure is not a dummy procedure, internal procedure, or procedure pointer, then the binding label of the procedure is the same as the name of the procedure using lower case letters. Otherwise, the procedure has no binding label." Thus it can be handled the same way as gfortran does for 'bind(c,name="")': Simply use the Fortran name (which encodes the module name and parent procedure name). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34133