------- Comment #1 from domob at gcc dot gnu dot org 2009-08-10 11:18 ------- The same holds for type-bound operators, see for instance gcc/testsuite/gfortran.dg/typebound_operator_2.f03 for the current "inconsistent" locations.
But as the checking code is mainly shared, a fix will probably do both in one. I think though that this should be verified (e.g. by adapting the mentioned test-case to the new error locations which will be necessary anyways). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41023