re PR libfortran/32972 (performance of pack/unpack)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 14 Apr 2008 18:50:57 +0000 (18:50 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 14 Apr 2008 18:50:57 +0000 (18:50 +0000)
2008-04-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/32972
* intrinsics/spread_generic.c (spread):  Use spread_i2()
for GFC_DTYPE_DERIVED_2 (fix typo from previous commit).

From-SVN: r134286

libgfortran/ChangeLog
libgfortran/intrinsics/spread_generic.c

index e228cf6db8cb56a6b1d7b8e68c92eae01a37ca6f..9fc0476272f8b384031080aa78ca148383abdb31 100644 (file)
@@ -1,3 +1,9 @@
+2008-04-14  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR libfortran/32972
+       * intrinsics/spread_generic.c (spread):  Use spread_i2()
+       for GFC_DTYPE_DERIVED_2 (fix typo from previous commit).
+
 2008-04-13  Thomas Koenig  <tkoenig@gcc.gnu.org>
        Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
index e50598a97c32339fb62036278c3d74f2853b1ad3..e37b6e10bbc0bbccf0caca631049aa3eaadd0bdc 100644 (file)
@@ -367,7 +367,7 @@ spread (gfc_array_char *ret, const gfc_array_char *source,
        break;
       else
        {
-         spread_i1 ((gfc_array_i1 *) ret, (gfc_array_i1 *) source,
+         spread_i2 ((gfc_array_i2 *) ret, (gfc_array_i2 *) source,
                     *along, *pncopies);
          return;
        }