https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid | --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #2) > Correction, this is not a regression. > > F2018 has, in 19.2, paragraph 2 > > # The global identifier of an entity shall not be the same as the global > # identifier of any other entity. Furthermore, a binding label shall not > # be the same as the global identifier of any other global entity, > # ignoring differences in case. > > So, the error message is correct, and you need to change your > program accordingly. Good catch, Thomas! In hindsight, the restriction makes prefect sense given Fortran is a case insensitive language.