+2006-05-26 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/27524
+ * trans-array.c (gfc_trans_dummy_array_bias): Don't use stride as
+ a temporary variable when -fbounds-check is enabled, since its
+ value will be needed later.
+
2006-05-26 Thomas Koenig <Thomas.Koenig@online.de>
PR fortran/23151
tree dumdesc;
tree tmp;
tree stmt;
- tree stride;
+ tree stride, stride2;
tree stmt_packed;
tree stmt_unpacked;
tree partial;
tmp = fold_build2 (MINUS_EXPR, gfc_array_index_type,
ubound, lbound);
- stride = build2 (MINUS_EXPR, gfc_array_index_type,
+ stride2 = build2 (MINUS_EXPR, gfc_array_index_type,
dubound, dlbound);
- tmp = fold_build2 (NE_EXPR, gfc_array_index_type, tmp, stride);
+ tmp = fold_build2 (NE_EXPR, gfc_array_index_type, tmp, stride2);
gfc_trans_runtime_check (tmp, gfc_strconst_bounds, &block);
}
}
+2006-05-26 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/27524
+ * gfortran.dg/bounds_check_1.f90: New test.
+
2006-05-26 Ulrich Weigand <uweigand@de.ibm.com>
PR rtl-optimization/27661