https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69636
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #8) Commenting out this line: > private :: cx_plus_int ! <- why does this make a difference? and adding in the main: print *, cx_plus_int(a, 2) make the code compile, while I believe it shouldn't due to the "private" statement in m. (This version is rejected by other compilers.)