From: Wolfgang Bangerth Date: Thu, 30 Jan 2020 16:38:49 +0000 (-0700) Subject: Avoid an internal compiler error in gcc 7.4.0. X-Git-Tag: v9.2.0-rc1~590^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18b63c03994b8b33cb98b25f301c9dd58507d7f6;p=dealii.git Avoid an internal compiler error in gcc 7.4.0. --- diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index 63494acee6..3d744688b9 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -1794,9 +1794,14 @@ MatrixFree::initialize_indices( const unsigned int v, const bool ext, const bool flag) { - AssertIndexRange(face_info.faces[f].cells_interior[v], - n_macro_cells_before * - VectorizedArrayType::n_array_elements); + Assert( + face_info.faces[f].cells_interior[v] < + n_macro_cells_before * + VectorizedArrayType::n_array_elements, + ExcIndexRange(face_info.faces[f].cells_interior[v], + 0, + n_macro_cells_before * + VectorizedArrayType::n_array_elements)); if (flag || (di.index_storage_variants [ext ? internal::MatrixFreeFunctions::DoFInfo::