This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regression/38838] BIND(C): Binding name expressions are wrongly rejected



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]