In r16-6651-g3fd5a1e76bbf1b, -fno-ipa-cp was added to 3 test cases and
thus, I did the same for this one. The alternative approach is to
increase the number of allowed matches to 2.
Please let me know if the alternative approach is better.
Ok for trunk?
--
Without this patch, the following failure can be seen in the logs:
gcc.target/arm/simd/vextQp64_1.c: vext.64[ \t]+[qQ][0-9]+, [qQ][0-9]+,
[qQ][0-9]+, #[0-9]+!?(?:[ \t]+@[a-zA-Z0-9 ]+)?\n found 2 times
FAIL: gcc.target/arm/simd/vextQp64_1.c scan-assembler-times vext.64[
\t]+[qQ][0-9]+, [qQ][0-9]+, [qQ][0-9]+, #[0-9]+!?(?:[ \t]+@[a-zA-Z0-9 ]+)?\n 1
gcc/testsuite/ChangeLog:
* gcc.target/arm/simd/vextQp64_1.c: Compile with -fno-ipa-cp.
Signed-off-by: Torbjörn SVENSSON <[email protected]>
---
gcc/testsuite/gcc.target/arm/simd/vextQp64_1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/arm/simd/vextQp64_1.c
b/gcc/testsuite/gcc.target/arm/simd/vextQp64_1.c
index e4d33fce346..d2303ae45da 100644
--- a/gcc/testsuite/gcc.target/arm/simd/vextQp64_1.c
+++ b/gcc/testsuite/gcc.target/arm/simd/vextQp64_1.c
@@ -1,7 +1,7 @@
/* Test the `vextQp64' ARM Neon intrinsic. */
/* { dg-require-effective-target arm_crypto_ok } */
-/* { dg-options "-save-temps -O3 -fno-inline" } */
+/* { dg-options "-save-temps -O3 -fno-inline -fno-ipa-cp" } */
/* { dg-add-options arm_crypto } */
#include "arm_neon.h"
--
2.43.0