Skip to content

Commit

Permalink
Fix gcc behavior on new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfalcou committed Feb 28, 2023
1 parent 95fdfe7 commit 45b371f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/unit/api/regular/deinterleave_groups.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,10 @@ TTS_CASE_TPL( "Check behavior of deinterleave on arithmetic data", less_test_typ
( [&]<int Fields>(std::integral_constant<int, Fields>)
{
// maybe unused for gcc bug
static constexpr std::size_t max_group_size = (T::size() >= 64) ? 4 : T::size();
static constexpr auto nn = std::countr_zero(max_group_size) + 1;
static constexpr std::ptrdiff_t fields = Fields;
[[maybe_unused]] static constexpr std::size_t max_group_size = (T::size() >= 64) ? 4 : T::size();
[[maybe_unused]] static constexpr auto nn = std::countr_zero(max_group_size) + 1;
[[maybe_unused]] static constexpr std::ptrdiff_t fields = Fields;

eve::detail::for_<0, 1, nn>
(
[&]<int Shift>(std::integral_constant<int, Shift>)
Expand Down

0 comments on commit 45b371f

Please sign in to comment.