Reported by Erik Toussaint in comp.lang.fortran,
The problem occurs if a generic name is a specific name – and the specific name is used in a type-bound procedure.
As the example shows, the type-bound procedure becomes also generic – and thus
is all of a sudden generic.
procedure, nopass :: sub
print *, 'sub1'
print *, 'sub2'
Related: PR 42418.
The problem is really that we have only one symbol for the specific and generic procedure.