https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Summary|[8/9/10 Regression] BIND(C) |BIND(C) names are not
|names are not always |always treated as case
|treated as case sensitive. |sensitive.
Resolution|--- |INVALID
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
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.