gcc/libgfortran
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
..
generated re PR libfortran/19106 ([4.0 only] segfault in executable for print *,sum(a,dim=2,mask=a>0)) 2005-04-12 22:57:10 +00:00
intrinsics re PR libfortran/18495 ([4.0 only] Intrinisc function SPREAD is broken) 2005-04-15 20:06:17 +00:00
io [multiple changes] 2005-04-10 08:35:39 +00:00
m4 re PR libfortran/19106 ([4.0 only] segfault in executable for print *,sum(a,dim=2,mask=a>0)) 2005-04-12 22:57:10 +00:00
runtime * runtime/environ.c: Correct previous commit for obvious typo. 2005-04-10 13:08:12 +00:00
.cvsignore
acinclude.m4 acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
aclocal.m4 Makefile.am: Added new files. 2005-03-22 22:08:22 +00:00
AUTHORS
c99_protos.h re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
ChangeLog re PR libfortran/18495 ([4.0 only] Intrinisc function SPREAD is broken) 2005-04-15 20:06:17 +00:00
config.h.in * config.h.in: Regenerate. 2005-03-24 17:55:31 +00:00
configure * configure: Regenerate. 2005-04-13 01:41:26 +00:00
configure.ac re PR libfortran/20766 ([darwin] - run time error when calling fortran subroutine from c) 2005-04-07 14:06:27 -07:00
COPYING
fmain.c
INSTALL
libgfortran.h re PR libfortran/19363 (List directed write of Infinity and NaN has regressed) 2005-02-01 09:06:22 +00:00
libtool-version
Makefile.am re PR libfortran/20766 ([darwin] - run time error when calling fortran subroutine from c) 2005-04-07 14:06:27 -07:00
Makefile.in re PR libfortran/20766 ([darwin] - run time error when calling fortran subroutine from c) 2005-04-07 14:06:27 -07:00
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>