From eaa77f1446eac2b897b7db76d5570bfa5dbd6a18 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 22 Sep 2020 09:00:56 -0400 Subject: [PATCH] Replace __restrict by DEAL_II_RESTRICT --- include/deal.II/matrix_free/evaluation_kernels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/evaluation_kernels.h b/include/deal.II/matrix_free/evaluation_kernels.h index 8f40cb85d3..2314c590ee 100644 --- a/include/deal.II/matrix_free/evaluation_kernels.h +++ b/include/deal.II/matrix_free/evaluation_kernels.h @@ -2614,11 +2614,11 @@ namespace internal // `scratch_data` variable to not risk a stack overflow. constexpr unsigned int stack_array_size_threshold = 100; + VectorizedArrayType *DEAL_II_RESTRICT temp1; VectorizedArrayType temp_data[static_dofs_per_face < stack_array_size_threshold ? 2 * dofs_per_face : 1]; - VectorizedArrayType *__restrict temp1; if (static_dofs_per_face < stack_array_size_threshold) temp1 = &temp_data[0]; else -- 2.39.5