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 fortran/34079] Bind(C): Character argument/return value problems



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


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