arm: [MVE intrinsics] Fix typo

Message ID 20231122095455.2215921-1-christophe.lyon@linaro.org
State Unresolved
Headers
Series arm: [MVE intrinsics] Fix typo |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Christophe Lyon Nov. 22, 2023, 9:54 a.m. UTC
  In commt 0c2037d9d93a8f768cb11698ff794278246bb31f (Add support for
contiguous loads and stores), I added a spurious line which broke
bootstrap because of an unused variable error.

This patch removes it.

Committed as obvious.

2023-11-22  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/ChangeLog:

	* config/arm/arm-mve-builtins.cc
	(function_resolver::infer_pointer_type): Remove spurious line.
---
 gcc/config/arm/arm-mve-builtins.cc | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/gcc/config/arm/arm-mve-builtins.cc b/gcc/config/arm/arm-mve-builtins.cc
index a265cb05553..dec163dce4f 100644
--- a/gcc/config/arm/arm-mve-builtins.cc
+++ b/gcc/config/arm/arm-mve-builtins.cc
@@ -1168,7 +1168,6 @@  function_resolver::infer_pointer_type (unsigned int argno)
 		build_qualified_type (target, 0));
       return NUM_TYPE_SUFFIXES;
     }
-  unsigned int bits = type_suffixes[type].element_bits;
 
   return type;
 }