https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997
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 --- I think I've seen something similar in a different PR before, where there is confusion of globally visible names for bind(c) procedures. Need to look them up. Anyway, renaming the binding label, like subroutine acc_attach_c(x) bind(C, name="acc_attach_renamed") makes the code compile.