aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2023-11-23 14:30:10 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2023-11-23 15:54:32 +0000
commitb9dbdefac626ba20222ca534b58f7e493d713b9a (patch)
tree79f40e5531802cd9c57422638b8411b7d7937448
parentb2d17bdd45b582b93e89c00b04763a45f97d7a34 (diff)
downloadgcc-b9dbdefac626ba20222ca534b58f7e493d713b9a.zip
gcc-b9dbdefac626ba20222ca534b58f7e493d713b9a.tar.gz
gcc-b9dbdefac626ba20222ca534b58f7e493d713b9a.tar.bz2
arm: [MVE intrinsics] Add default clause to full_width_access::memory_vector_mode
My recent commit 0c2037d9d93a8f768cb11698ff794278246bb31f added a switch statement lacking a default clause, leading to warnings or errors when building with --enable-werror-always. Fix by adding an empty default. Committed as obvious. 2023-11-23 Christophe Lyon <christophe.lyon@linaro.org> gcc/ * config/arm/arm-mve-builtins-functions.h (full_width_access::memory_vector_mode): Add default clause.
-rw-r--r--gcc/config/arm/arm-mve-builtins-functions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/arm/arm-mve-builtins-functions.h b/gcc/config/arm/arm-mve-builtins-functions.h
index 6d234a2..1c93e64 100644
--- a/gcc/config/arm/arm-mve-builtins-functions.h
+++ b/gcc/config/arm/arm-mve-builtins-functions.h
@@ -1013,6 +1013,8 @@ public:
case E_V8HFmode:
mode = E_V8HImode;
break;
+ default:
+ break;
}
if (m_vectors_per_tuple != 1)