re PR fortran/35184 (ICE in gfc_conv_array_index_offset)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 15 Mar 2008 16:45:12 +0000 (16:45 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 15 Mar 2008 16:45:12 +0000 (16:45 +0000)
2008-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/35184
* trans-array.c (gfc_conv_array_index_offset): Remove unnecessary
assert.

From-SVN: r133252

gcc/fortran/ChangeLog
gcc/fortran/trans-array.c

index 211453ee8c4d5230a69049f8839af10b6f92c777..37572202f143e93cf675c3ff84a278029d858ec5 100644 (file)
@@ -1,3 +1,9 @@
+2008-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/35184
+       * trans-array.c (gfc_conv_array_index_offset): Remove unnecessary
+       assert.
+
 2008-03-15  Daniel Franke  <franke.daniel@gmail.com>
 
        PR fortran/35584
index 542e22f97fecdf060f3daa2bb8e8964a7ce03b66..30b2a1ca611f63190668ed00408b7bdf0d279bc7 100644 (file)
@@ -2209,7 +2209,6 @@ gfc_conv_array_index_offset (gfc_se * se, gfc_ss_info * info, int dim, int i,
       switch (ar->dimen_type[dim])
        {
        case DIMEN_ELEMENT:
-         gcc_assert (i == -1);
          /* Elemental dimension.  */
          gcc_assert (info->subscript[dim]
                      && info->subscript[dim]->type == GFC_SS_SCALAR);