https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121314
--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> ---
The multiple single quotes have been removed. There is still the issue of the
error message being duplicated but this is a separate issue.
$ gm2 badindrtype2.mod
badindrtype2.mod:8:6: error: In procedure ‘init’: assignment designator ‘c’ of
type ‘CARDINAL’ is a variable and expression ‘ch’ of type ‘CHAR’ are
incompatible
8 | c := ch
| ~~^~~~~
badindrtype2.mod:8:6: error: assignment designator ‘c’ of type ‘CARDINAL’ is a
variable and expression ‘ch’ of type ‘CHAR’ are incompatible