http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48858
Juno Krahn <juno.krahn at nih dot gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |juno.krahn at nih dot gov
--- Comment #13 from Juno Krahn <juno.krahn at nih dot gov> 2012-11-13 18:14:43
UTC ---
I just came across this issue, using code that used to compile under gfortran.
The standards reference in the previous comment is in reference to program
units, which includes binding labels. It asserts that global identifiers are
unique entities, but interface definitions are not program units. Multiple
interfaces can refer to the same unique. I don't have a reference, but I
remember this specific issue being discussed at one point with the Fortran
Standards committee, and the consensus was that multiple interfaces to a single
BIND(C) name is both valid and useful.