This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38838] BIND(C): Binding name expressions are wrongly rejected
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2009 16:00:22 -0000
- Subject: [Bug fortran/38838] BIND(C): Binding name expressions are wrongly rejected
- References: <bug-38838-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from burnus at gcc dot gnu dot org 2009-01-14 16:00 -------
The following seems to be rejected as well:
subroutine test() bind(c, name=1_"name")
I don't see why this is rejected. The standard has:
C540 (R509) The scalar-char-initialization-expr shall be of default character
kind.
but this is fulfilled.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38838