This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/36463] [4.4 Regression] ICE in expand_expr_real_1, at expr.c:7264 with rev.136554



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]