aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/m4
diff options
context:
space:
mode:
authorThomas Koenig <Thomas.Koenig@online.de>2006-03-25 21:15:48 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2006-03-25 21:15:48 +0000
commit9a0fb43ea1f6aabf4668d4ad3faf76c2da4d8647 (patch)
treeecdfff8b892396495441f76b77c91589555fd96d /libgfortran/m4
parentfe1f8f442ef9952650c38ae0383498d41965775c (diff)
downloadgcc-9a0fb43ea1f6aabf4668d4ad3faf76c2da4d8647.zip
gcc-9a0fb43ea1f6aabf4668d4ad3faf76c2da4d8647.tar.gz
gcc-9a0fb43ea1f6aabf4668d4ad3faf76c2da4d8647.tar.bz2
re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer)
2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26769 * iresolve.c (gfc_resolve_reshape): Remove doubling of kind for complex. For real(kind=10), call reshape_r10. (gfc_resolve_transpose): For real(kind=10), call transpose_r10. 2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26769 * Makefile.am: Add transpose_r10.c and reshape_r10.c. * aclocal.m4: Regenerate using aclocal 1.9.3. * Makefile.in: Regenerate using automake 1.9.3. * m4/iparm.m4 (rtype_ccode): If rtype_letter is `i', evaluate to rtype_kind, otherwise to rtype_code. * generated/transpose_r10.c: Add. * generated/reshape_r10.c: Add. 2006-03-25 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26769 * gfortran.dg/transpose_reshape_r10.f90: New test case. From-SVN: r112381
Diffstat (limited to 'libgfortran/m4')
-rw-r--r--libgfortran/m4/iparm.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/m4/iparm.m4 b/libgfortran/m4/iparm.m4
index 810f78c..9509621 100644
--- a/libgfortran/m4/iparm.m4
+++ b/libgfortran/m4/iparm.m4
@@ -30,4 +30,4 @@ define(rtype_qual,`_'rtype_kind)dnl
define(atype_max, atype_name`_HUGE')dnl
define(atype_min, `-'atype_max)dnl
define(name, regexp(regexp(file, `[^/]*$', `\&'), `^\([^_]*\)_', `\1'))dnl
-define(rtype_ccode,ifelse(rtype_letter,`c',rtype_code,rtype_kind))dnl
+define(rtype_ccode,ifelse(rtype_letter,`i',rtype_kind,rtype_code))dnl