This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/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 15:07:54 -0000
- Subject: [Bug regression/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 #1 from burnus at gcc dot gnu dot org 2009-01-14 15:07 -------
Example:
subroutine test() bind(c, name=trim("Hello "))
end
Error: Syntax error in NAME= specifier for binding label at (1)
Per the R509 cited above this is valid. It is also accepted by other compilers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38838