public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Christophe Lyon <clyon@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-5786] arm: [MVE intrinsics] Add default clause to full_width_access::memory_vector_mode
Date: Thu, 23 Nov 2023 15:56:41 +0000 (GMT)	[thread overview]
Message-ID: <20231123155641.4062E385C308@sourceware.org> (raw)

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)

                 reply	other threads:[~2023-11-23 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231123155641.4062E385C308@sourceware.org \
    --to=clyon@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).