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: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2008 17:13: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 #4 from burnus at gcc dot gnu dot org 2008-07-27 17:13 -------
> 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)
> - sym->as = gfc_copy_array_spec (ifc->as);
> + /* sym->as = gfc_copy_array_spec (ifc->as); */
The patch is wrong. Before there were two bugs - the one fixed by the adding
the sym->as line and the wrong memory access. Fixing the first bug, which
solved one program (see test suite), now reveals the next problem.
I think that was already tracked in one of the bind(C) PRs. Unfortunately,
there are now so many that I lost track. In any case is PR 36322 about the same
c.l.f. test case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36463