https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126018
--- Comment #3 from Steve Kargl <kargl at gcc dot gnu.org> ---
Suppressing the error by commenting out the code should
allow gfortran to continue to the resolution phase. I get
% gfcx -o z p9.f90
p9.f90:4:2:
4 | character(1) function character_stop_code()
| 1
Error: INTERNAL-PROC procedure at (1) is already declared as EXTERNAL-PROC
procedure
which is rather unexpected.
