gcc/libgfortran/intrinsics
Thomas Koenig 8e6d7b8a35 re PR libfortran/18495 ([4.0 only] Intrinisc function SPREAD is broken)
2005-04-15  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/18495
        * intrinsics/spread_generic.c (spread):  Remove const from
        return array descriptor.
        New variables: rrank (rank of return array),  rs (for
        calculating the size of the return array), srank (rank
        of the source array).
        Generate runtime error if the dim= argument is larger than
        the rank of the return array.
        Generate runtime error if the needed rank of the return
        array is larger than 7.
        If ret->data is null, populate the return array descriptor
        and initialize the variables for the actual operation.
        Otherwise, set ret->dim[0].stride to one if it is zero.
        Change second, independent use of variable dim to srank.

2005-04-15  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/18495
        * gfortran.fortran-torture/execute/intrinsic_spread.f90:
        Test callee-allocated version of return array with a write
        statement.
        Test spread with a temporary with another write statement.

From-SVN: r98208
2005-04-15 20:06:17 +00:00
..
abort.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
args.c re PR libfortran/20085 (iargc returns wrong count for number of program arguments) 2005-02-20 15:24:02 +00:00
associated.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
bessel.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
c99_functions.c re PR libfortran/19302 (intrinsic_nearest.f90 fails) 2005-02-21 21:39:33 +00:00
chdir.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
cpu_time.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
cshift0.c re PR fortran/19294 (intrinsic_transpose.f90 runtime crash) 2005-01-23 17:01:00 +00:00
date_and_time.c * intrinsic/date_and_time.c: Fix conformance problems. 2005-02-19 18:06:00 +00:00
dprod_r8.f90
env.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
eoshift0.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
eoshift2.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
erf.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
etime.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
exit.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
flush.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
fnum.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
gerror.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
getcwd.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
getlog.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
getXid.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
hostnm.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
ierrno.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
ishftc.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
kill.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
link.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
mvbits.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
pack_generic.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
perror.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
rand.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
random.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
rename.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
reshape_generic.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
reshape_packed.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
selected_int_kind.f90 Makefile.am (gfor_helper_src): Split selected_kind.f90. 2004-08-30 14:34:37 -07:00
selected_real_kind.f90 Makefile.am (gfor_helper_src): Split selected_kind.f90. 2004-08-30 14:34:37 -07:00
size.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
sleep.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
spread_generic.c re PR libfortran/18495 ([4.0 only] Intrinisc function SPREAD is broken) 2005-04-15 20:06:17 +00:00
stat.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
string_intrinsics.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
symlnk.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
system_clock.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
system.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
time.c Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
transpose_generic.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
umask.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
unlink.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
unpack_generic.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00