8e6d7b8a35
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 |
||
---|---|---|
.. | ||
generated | ||
intrinsics | ||
io | ||
m4 | ||
runtime | ||
.cvsignore | ||
acinclude.m4 | ||
aclocal.m4 | ||
AUTHORS | ||
c99_protos.h | ||
ChangeLog | ||
config.h.in | ||
configure | ||
configure.ac | ||
COPYING | ||
fmain.c | ||
INSTALL | ||
libgfortran.h | ||
libtool-version | ||
Makefile.am | ||
Makefile.in | ||
mk-sik-inc.sh | ||
mk-srk-inc.sh | ||
NEWS | ||
README |
This is the GNU Fortran 95 Runtime library (libgfortran). It is intended to be compiled as part of GCC. Programs must be linked with "-lgfortran -lm". The 'gfortran' driver does this automatically. You'll need to apply gcc_config.patch to your top level GCC source directory. This tells the the GCC configure system about libgfor. This patch can confuse patch as it contains a filename with a '-' in it. use "patch -p1" to avoid this problem. For more information about GNU Fortran 95, see http://gcc-g95.sourceforge.net Paul Brook <paul@nowt.org>