This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36463] [4.4 Regression] ICE in expand_expr_real_1, at expr.c:7264 with rev.136554
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2008 09:09:16 -0000
- Subject: [Bug fortran/36463] [4.4 Regression] ICE in expand_expr_real_1, at expr.c:7264 with rev.136554
- References: <bug-36463-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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