This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35184] ICE in gfc_conv_array_index_offset
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2008 16:25:57 -0000
- Subject: [Bug fortran/35184] ICE in gfc_conv_array_index_offset
- References: <bug-35184-15768@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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