------- Comment #3 from janus at gcc dot gnu dot org  2008-05-28 21:58 -------
The problem in comment #2 was indeed introduced by my rev. 134867, and can be
fixed by the following patch:

Index: gcc/fortran/resolve.c
===================================================================
--- gcc/fortran/resolve.c       (revision 136130)
+++ gcc/fortran/resolve.c       (working copy)
@@ -7751,6 +7751,7 @@ resolve_symbol (gfc_symbol *sym)
        {
          sym->ts.type = sym->ts.interface->ts.type;
          sym->ts.kind = sym->ts.interface->ts.kind;
+         sym->ts.is_c_interop = sym->ts.interface->ts.is_c_interop;
          sym->attr.function = sym->ts.interface->attr.function;
          sym->attr.subroutine = sym->ts.interface->attr.subroutine;
          copy_formal_args (sym, sym->ts.interface);


-- 


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

Reply via email to