This is the mail archive of the
mailing list for the GCC project.
Re: [libgfortran] Builtin functions allocate their results (library part)
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Victor Leikehman <lei at haifasphere dot co dot il>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 4 Aug 2004 15:31:05 +0100
- Subject: Re: [libgfortran] Builtin functions allocate their results (library part)
- Organization: CodeSourcery
- References: <4110CDD9.firstname.lastname@example.org>
> This patch deals with the second part of the change -- the library
> part. The following library functions now support the new protocol:
> ALL, ANY, COUNT, MAXLOC, MAXVAL, MINLOC, MINVAL, PRODUCT, SUM,
> TRANSPOSE, CSHIFT.
> Note that without the related change in the compiler, this addition
> is just dead code. However, we must start somewhere -- if I first
> patch the compiler, it will generate code that will crash in the
What about the other intrinsics?
> 2004-08-04 Victor Leikehman <email@example.com>
> * libgfortran.h (array_t, size0) New declarations.
> * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
> space if return value descriptor has NULL in its data field,
> and initialize bounds and stride.
> * intrinsics/size.c (array_t, size0): Declarations moved to
> * generated/*.c: Regenerated
Applied, thanks. You don't usually need to include generated files in the