[Bug libfortran/18495] Intrinisc function SPREAD is broken
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 15 11:29:00 GMT 2005
------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-04-15 11:29 -------
(In reply to comment #13)
> I believe that reshape needs the same/similar fix.
> Is ret->data = NULL guaranteed for temporaries?
ret->data = NULL is what the front end generates when
it doesn't know enough about the temporary.
> This is what I would have done but the question that I asked on the
> original PR is still unanswered - is it the caller or the callee who
> should be arranging the correct amount of memory for a temporary object?
Ideally, it should be the caller, but that doesn't happen always at
the moment.
Thomas
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18495
More information about the Gcc-bugs
mailing list