------- Comment #2 from jvdelisle at gcc dot gnu dot org  2008-03-15 16:25 
-------
Removing this assert on this argument being passed in seems to resolve this
issue.  I wonder if this was a leftover from a debugging session.

Index: trans-array.c
===================================================================
--- trans-array.c       (revision 133203)
+++ trans-array.c       (working copy)
@@ -2209,7 +2209,6 @@ gfc_conv_array_index_offset (gfc_se * se
       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);


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-02-13 20:25:10         |2008-03-15 16:25:57
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35184

Reply via email to