[Bug libfortran/18495] Intrinisc function SPREAD is broken

paulthomas2 at wanadoo dot fr gcc-bugzilla@gcc.gnu.org
Fri Apr 15 05:07:00 GMT 2005


------- Additional Comments From paulthomas2 at wanadoo dot fr  2005-04-15 05:07 -------
Subject: Re:  Intrinisc function SPREAD is broken

>
>
>This appears to fix the benchmark in question.
>
>  
>
I believe that reshape needs the same/similar fix.

Is ret->data = NULL guaranteed for temporaries?

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?

Paul T




-- 


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



More information about the Gcc-bugs mailing list