You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
suite/dealii/tests/tensors/constexpr_tensor.cc(174): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto dummy_4 = schur_product(a, ref);
^
Note: attempt to access run-time storage
/srv/testsuite/dealii/include/deal.II/base/tensor.h(2004): note: called from:
tmp[i] = schur_product(Tensor<rank - 1, dim, Number>(src1[i]),
^
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(178): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto dummy_7 = adjugate(a);
^
Note: attempt to access run-time storage
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: called from:
tt[d] = t[d] * factor;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1839): note: called from:
return t * factor;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(2613): note: called from:
return determinant(t) * invert(t);
^
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(179): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto dummy_8 = cofactor(a);
^
Note: attempt to access run-time storage
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: called from:
tt[d] = t[d] * factor;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1839): note: called from:
return t * factor;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(2613): note: called from:
return determinant(t) * invert(t);
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(2635): note: called from:
return transpose(adjugate(t));
^
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(34): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto d = a * 2.;
^
Note: attempt to access run-time storage
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: called from:
tt[d] = t[d] * factor;
^
detected during instantiation of "void test_constexpr_tensor_constructors<rank,dim,Number>() [with rank=2, dim=1, Number=float]" at line 96
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(35): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto e = 2. * a;
^
Note: attempt to access run-time storage
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: called from:
tt[d] = t[d] * factor;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1839): note: called from:
return t * factor;
^
detected during instantiation of "void test_constexpr_tensor_constructors<rank,dim,Number>() [with rank=2, dim=1, Number=float]" at line 96
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(37): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto g = d + e;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: temporary object is not constant
tt[d] = t[d] * factor;
^
detected during instantiation of "void test_constexpr_tensor_constructors<rank,dim,Number>() [with rank=2, dim=1, Number=float]" at line 96
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(38): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto h = d - e;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: temporary object is not constant
tt[d] = t[d] * factor;
^
detected during instantiation of "void test_constexpr_tensor_constructors<rank,dim,Number>() [with rank=2, dim=1, Number=float]" at line 96
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(34): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto d = a * 2.;
^
Note: attempt to access run-time storage
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: called from:
tt[d] = t[d] * factor;
^
detected during instantiation of "void test_constexpr_tensor_constructors<rank,dim,Number>() [with rank=2, dim=2, Number=float]" at line 97
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(35): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto e = 2. * a;
^
Note: attempt to access run-time storage
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: called from:
tt[d] = t[d] * factor;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1839): note: called from:
return t * factor;
^
detected during instantiation of "void test_constexpr_tensor_constructors<rank,dim,Number>() [with rank=2, dim=2, Number=float]" at line 97
/srv/testsuite/dealii/tests/tensors/constexpr_tensor.cc(37): error: expression must have a constant value
DEAL_II_CONSTEXPR const auto g = d + e;
^
/srv/testsuite/dealii/include/deal.II/base/tensor.h(1813): note: temporary object is not constant
tt[d] = t[d] * factor;
...
The text was updated successfully, but these errors were encountered:
Reminds me of #8410 and #8413 where there was also some issue with DEAL_II_CONSTEXPR and the intel compiler. We can possibly disable DEAL_II_CONSTEXPR for icc altogether.
as reported by @tamiko at https://cdash.43-1.org/testDetails.php?test=44331408&build=6387:
in Test: tensors/constexpr_tensor.debug:
The text was updated successfully, but these errors were encountered: