------- Comment #7 from jon_d_r at msn dot com  2007-12-26 18:36 -------
Maybe this should best be described as:
"ICE when function returns array of values to dynamically allocated array"
If the LHS is a 'statically allocated' array, the function returns array of
values without problem.  If the LHS is a dynamically allocated array,
attempting to assign the array of values from the functions causes an ICE.

So gfortran fails to implement an essential feature of Fortran 95.

Workaround is to call a subroutine and have the array of values returned in the
argument list.


-- 


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

Reply via email to