public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-9131] arm: Fix unwanted fall-throughs in arm.c
@ 2020-12-08 11:27 Andrea Corallo
  0 siblings, 0 replies; only message in thread
From: Andrea Corallo @ 2020-12-08 11:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:725179f3e40c3c5d76d323fbb0ebb75afe257cc2

commit r10-9131-g725179f3e40c3c5d76d323fbb0ebb75afe257cc2
Author: Andrea Corallo <andrea.corallo@arm.com>
Date:   Wed May 27 17:43:48 2020 +0100

    arm: Fix unwanted fall-throughs in arm.c
    
    gcc/ChangeLog
    
    2020-05-28  Andrea Corallo  <andrea.corallo@arm.com>
    
            * config/arm/arm.c (mve_vector_mem_operand): Fix unwanted
            fall-throughs.

Diff:
---
 gcc/config/arm/arm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 97f5e12ad68..35e6aa27c11 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -13375,6 +13375,7 @@ mve_vector_mem_operand (machine_mode mode, rtx op, bool strict)
 	    if (val % 4 == 0 && val >= 0 && val <= 1020)
 	      return ((reg_no < LAST_ARM_REGNUM && reg_no != SP_REGNUM)
 		      || (!strict && reg_no >= FIRST_PSEUDO_REGISTER));
+	    return FALSE;
 	  default:
 	    return FALSE;
 	}


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

only message in thread, other threads:[~2020-12-08 11:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 11:27 [gcc r10-9131] arm: Fix unwanted fall-throughs in arm.c Andrea Corallo

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).