------- Comment #2 from burnus at gcc dot gnu dot org 2009-07-29 07:27 ------- >From the thread at c.l.f:
"A little testing revealed that the assembly code is correct, only the mangled name is wrong when there is a character argument. Perhaps the mangled name takes into account a spurious hidden LEN parameter while the code generator knows there is no such thing." The issue is: While I corrected the procedure call and the creation of the procedure itself for BIND(C) [i.e. no hidden-length argument; probably also returning a "char" instead of a "char, char_len" as return argument], I forgot to update the declaration of external functions, namely: gfc_get_function_type That should also help with -fwhole-file issues. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-07-29 07:27:13 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40898