https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107141
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #2 from anlauf at gcc dot gnu.org --- Interesting. Replacing the declaration of the external function by one using either fixed length character(2),external :: char_func_dummy or of assumed length character(*),external :: char_func_dummy gets rid of the error.