aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2008-03-15 16:45:12 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2008-03-15 16:45:12 +0000
commitdb5cf0c77e6f746eed7e6370bbdc25e675b2628f (patch)
tree83b366a79b28c08bb21e1e4ca64f29fc36b2c5b0 /gcc
parented97ddc649f7edc10e75e05c92cf49fdfbdd6150 (diff)
downloadgcc-db5cf0c77e6f746eed7e6370bbdc25e675b2628f.zip
gcc-db5cf0c77e6f746eed7e6370bbdc25e675b2628f.tar.gz
gcc-db5cf0c77e6f746eed7e6370bbdc25e675b2628f.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/trans-array.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 211453e..3757220 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c
index 542e22f..30b2a1c 100644
--- a/gcc/fortran/trans-array.c
+++ b/gcc/fortran/trans-array.c
@@ -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);