Commit db5cf0c7 by Jerry DeLisle

re PR fortran/35184 (ICE in gfc_conv_array_index_offset)

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
parent ed97ddc6
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment