[Bug fortran/49648] ICE(segfault) with MATMUL and function-result actual argument
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 6 16:54:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49648
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-06 16:53:32 UTC ---
(In reply to comment #8)
> + else if (mp_flag && sym->attr.flavor == FL_PROCEDURE && sym->attr.function)
> + gfc_resolve_array_spec (sym->result->as, false);
I think one could add somewhere a condition "if (sym != sym->result)"; and I
was wondering whether also other items like length-type parameters are
effected. (I think, usually character lengths are shared, but I am not sure
whether it also happens here.)
More information about the Gcc-bugs
mailing list