[PATCH] Fix PR19294

Paul Brook paul@codesourcery.com
Sun Jan 23 17:01:00 GMT 2005


On Thursday 20 January 2005 04:11, James A. Morrison wrote:
>  Hi,
>
>   This patch adds m4/transposec.m4 which generates transpose functions
> transpose_c4 and transpose_c8 functions for complex types.  This patch
> has been bootstrapped and regtested on powerpc-linux and sparc-linux with
> no regressions and fixes intrinsics_transpose.f90.  The generated files,
> including the diff to Makefile.in, are attached to the bug.
>
>   Ok for mainline?

No need to add a new .m4 file, the existing one just needs a little tweaking.
I also fixed a similar bug in cshift.

Tested on i686-linux.
Applied to mainline.

Paul

2005-01-23  James A. Morrison  <phython@gcc.gnu.org>
 Paul Brook  <paul@codesourcery.com>

 PR fortran/19294
 * iresolve.c (gfc_resolve_transpose): Resolve to transpose_c4 or
 transpose_c8 for complex types.
libgfortran/
 * Makefile.am: Add transpose_c4.c and transpose_c8.c.
 * intrinsics/cshift0.c: Use separate optimized loops for complex types.
 * m4/transpose.m4: Include type letter in function name.
 * Makefile.in: Regenerate.
 * generated/transpose_*.c: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.transpose_c
Type: text/x-diff
Size: 19517 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050123/b277ca69/attachment.bin>


More information about the Fortran mailing list