]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: Fix unwanted fall-throughs in arm.c
authorAndrea Corallo <andrea.corallo@arm.com>
Wed, 27 May 2020 16:43:48 +0000 (17:43 +0100)
committerAndrea Corallo <andrea.corallo@arm.com>
Tue, 8 Dec 2020 11:26:37 +0000 (12:26 +0100)
gcc/ChangeLog

2020-05-28  Andrea Corallo  <andrea.corallo@arm.com>

* config/arm/arm.c (mve_vector_mem_operand): Fix unwanted
fall-throughs.

gcc/config/arm/arm.c

index 97f5e12ad68899ed4a0f7531a11a46b13cf0273c..35e6aa27c11eff1c49d8bdda9ab67ccca9744274 100644 (file)
@@ -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;
        }