diff --git a/include/cute/algorithm/axpby.hpp b/include/cute/algorithm/axpby.hpp index a01fb1df..b1a9cdb9 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 4eeebf8b..2cd8706b 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; } //