[Bug fortran/33310] Bind(C): Accepts PARAMETER with BIND(C) attribute
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 5 11:16:00 GMT 2007
------- Comment #1 from burnus at gcc dot gnu dot org 2007-09-05 11:15 -------
"The BIND statement specifies the BIND attribute (5.1.2.4) for a list of
variables and common blocks."
and
"The BIND attribute for a variable or common block specifies that it is capable
of interoperating with a C variable that has external linkage (15.3)."
I would argue that a symbol with a PARAMETER attribute is not a "variable" but
a "named constant" and thus BIND(C) is invalid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33310
More information about the Gcc-bugs
mailing list