diff --git a/include/cute/algorithm/axpby.hpp b/include/cute/algorithm/axpby.hpp index a01fb1df14..b1a9cdb9fb 100644 --- a/include/cute/algorithm/axpby.hpp +++ b/include/cute/algorithm/axpby.hpp @@ -75,6 +75,8 @@ axpby(Alpha const& alpha, else { return beta == Int<0>{}; } + + CUTE_GCC_UNREACHABLE; } (); CUTE_UNROLL diff --git a/include/cute/algorithm/tuple_algorithms.hpp b/include/cute/algorithm/tuple_algorithms.hpp index 4eeebf8b7a..2cd8706bbe 100644 --- a/include/cute/algorithm/tuple_algorithms.hpp +++ b/include/cute/algorithm/tuple_algorithms.hpp @@ -743,6 +743,8 @@ repeat(X const& x) } else { return detail::construct(0, x, seq<>{}, make_seq{}, seq<>{}); } + + CUTE_GCC_UNREACHABLE; } //