]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: remove unused variables from test
authorStam Markianos-Wright <stam.markianos-wright@arm.com>
Thu, 6 Apr 2023 17:57:08 +0000 (18:57 +0100)
committerStam Markianos-Wright <stam.markianos-wright@arm.com>
Thu, 6 Apr 2023 17:57:14 +0000 (18:57 +0100)
This is just a minor issue I found with a previous test
of mine that caused it to fail in C++ mode due to these
unused const variables being uninitialised. I forgot to
remove these after removing some test cases that did use
them. I removed the test cases, because I came to the
conclusion that the const-ness of the immediate was
irrelevant to the test itself.
Removing the variables now makes the test PASS for C++.

gcc/testsuite/ChangeLog:

* gcc.target/arm/mve/intrinsics/mve_intrinsic_type_overloads-fp.c: Remove unused variables.
* gcc.target/arm/mve/intrinsics/mve_intrinsic_type_overloads-int.c: Remove unused variables.

gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_intrinsic_type_overloads-fp.c
gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_intrinsic_type_overloads-int.c

index 7492e9b22bd3f024f154d0ee2c9ed700702446af..a2787a47859a8bc6ca9df5a367b7c1bd8fa6bea6 100644 (file)
@@ -19,15 +19,6 @@ int16_t i6;
 int32_t i7;
 int64_t i8;
 
-const int ci1;
-const short ci2;
-const long ci3;
-const long long ci4;
-const int8_t ci5;
-const int16_t ci6;
-const int32_t ci7;
-const int64_t ci8;
-
 float16x8_t floatvec;
 int16x8_t intvec;
 
index 9a921bf40e81f3578a5687f14e60fa6f78dcd123..7b88f462e17ea9b2d45179a39f86307a72ab642a 100644 (file)
@@ -13,15 +13,6 @@ int16_t i6;
 int32_t i7;
 int64_t i8;
 
-const int ci1;
-const short ci2;
-const long ci3;
-const long long ci4;
-const int8_t ci5;
-const int16_t ci6;
-const int32_t ci7;
-const int64_t ci8;
-
 int16x8_t intvec;
 
 void test(void)