------- Comment #1 from burnus at gcc dot gnu dot org  2007-11-22 11:56 -------
Some more debugging. The problem is that in gfc_conv_function_call /
gfc_sym_mangled_function_id of "main", is_bind_c=1 but binding_label = '\0'.

Actually, already for gfc_search_interface, I get sym=test and bind= '\0'.

Educated guess: The problem is in module.c; the binding label is properly
written into the .mod file (from looking at it) but in load_generic_interfaces,
the "gfc_get_symbol (p, NULL, &sym);" returns for p = "test" no binding name.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34187

Reply via email to