------- Comment #3 from dominiq at lps dot ens dot fr 2008-06-09 09:09 ------- Withe following patch the ICE is changed to
pr35971_red.f90:33.25: gp = get_funloc(make_mess,aux) 1 Error: Type/rank mismatch in argument 'x' at (1) --- /opt/gcc/_gcc_clean/gcc/fortran/resolve.c 2008-06-08 11:16:33.000000000 +0200 +++ /opt/gcc/gcc-4.4-work/gcc/fortran/resolve.c 2008-06-09 10:57:13.000000000 +0200 @@ -7912,7 +7912,7 @@ sym->attr.dimension = ifc->attr.dimension; sym->attr.recursive = ifc->attr.recursive; sym->attr.always_explicit = ifc->attr.always_explicit; - sym->as = gfc_copy_array_spec (ifc->as); + /* sym->as = gfc_copy_array_spec (ifc->as); */ copy_formal_args (sym, ifc); } else if (sym->ts.interface->name[0] != '\0') -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36463