This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34079] Bind(C): Character argument/return value problems
- 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: 17 Nov 2007 13:49:40 -0000
- Subject: [Bug fortran/34079] Bind(C): Character argument/return value problems
- References: <bug-34079-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from burnus at gcc dot gnu dot org 2007-11-17 13:49 -------
More fun with ENTRY:
a) gfortran does not match the BIND(C) suffix for ENTRY,
"R1235 entry-stmt is ENTRY entry-name [ ( [ dummy-arg-list ] ) [ suffix ] ]"
cf. decl.c: gfc_match_function_decl and gfc_match_entry
b) As entry and procedure do not need to be both bind(c), the master function
should always be called with the string length.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34079