https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121164
--- Comment #6 from Gaius Mulley <gaius at gcc dot gnu.org> --- As a followup the cc1gm2 error message lacks the location. Now fixed with a patch (to follow) which generates the correct error messages: $ gm2 arrayofchar.mod -Wall ./arrayofchar.def:9:27: error: In procedure ‘Write’: procedure ‘Write’ in the proper procedure differs from the definition procedure, 2nd parameter name is inconsistent, named as ‘str’ 9 | PROCEDURE Write (f: File; str: ARRAY OF CHAR) ; | ^~~ arrayofchar.mod:11:27: error: procedure ‘Write’ in the proper procedure differs from the definition procedure, 2nd parameter name is inconsistant, named as ‘a’ 11 | PROCEDURE Write (f: File; a: ARRAY OF CHAR) ; | ^