public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5786] arm: [MVE intrinsics] Add default clause to full_width_access::memory_vector_mode
@ 2023-11-23 15:56 Christophe Lyon
  0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2023-11-23 15:56 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b9dbdefac626ba20222ca534b58f7e493d713b9a

commit r14-5786-gb9dbdefac626ba20222ca534b58f7e493d713b9a
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date:   Thu Nov 23 14:30:10 2023 +0000

    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.

Diff:
---
 gcc/config/arm/arm-mve-builtins-functions.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/arm/arm-mve-builtins-functions.h b/gcc/config/arm/arm-mve-builtins-functions.h
index 6d234a2dd7c..1c93e6436b5 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-23 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-23 15:56 [gcc r14-5786] arm: [MVE intrinsics] Add default clause to full_width_access::memory_vector_mode Christophe Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).