diff options
author | James A. Morrison <phython@gcc.gnu.org> | 2005-01-23 17:01:00 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2005-01-23 17:01:00 +0000 |
commit | 587579571db53d68bd90344c6a1746aef98bc145 (patch) | |
tree | d9ae2043205be06ce0d7a27be58b05e0a8e5c085 /libgfortran/m4 | |
parent | b9750434708d2f3cc276d52c3f772c277fd6f4a7 (diff) | |
download | gcc-587579571db53d68bd90344c6a1746aef98bc145.zip gcc-587579571db53d68bd90344c6a1746aef98bc145.tar.gz gcc-587579571db53d68bd90344c6a1746aef98bc145.tar.bz2 |
re PR fortran/19294 (intrinsic_transpose.f90 runtime crash)
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.
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r94116
Diffstat (limited to 'libgfortran/m4')
-rw-r--r-- | libgfortran/m4/transpose.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libgfortran/m4/transpose.m4 b/libgfortran/m4/transpose.m4 index 74d25bc..4ae6c09 100644 --- a/libgfortran/m4/transpose.m4 +++ b/libgfortran/m4/transpose.m4 @@ -1,5 +1,5 @@ `/* Implementation of the TRANSPOSE intrinsic - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2005 Free Software Foundation, Inc. Contributed by Tobias Schlüter This file is part of the GNU Fortran 95 runtime library (libgfortran). @@ -33,11 +33,11 @@ Boston, MA 02111-1307, USA. */ #include "libgfortran.h"' include(iparm.m4)dnl -extern void transpose_`'rtype_kind (rtype * ret, rtype * source); -export_proto(transpose_`'rtype_kind); +extern void transpose_`'rtype_code (rtype * ret, rtype * source); +export_proto(transpose_`'rtype_code); void -transpose_`'rtype_kind (rtype * ret, rtype * source) +transpose_`'rtype_code (rtype * ret, rtype * source) { /* r.* indicates the return array. */ index_type rxstride, rystride; |