http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58229

--- Comment #2 from janus at gcc dot gnu.org ---
(In reply to janus from comment #1)
> The second one is the allocate-on-assignment inside the function, which
> nevers gets freed. This *is* a bug. What should be done is: Create a
> temporary for the function result and free it after the call.

This probably needs to happen inside gfc_conv_procedure_call (trans-expr.c).

Reply via email to