From cb35651269cef74301250f5d7c0412f81a33aef4 Mon Sep 17 00:00:00 2001
From: Christophe Lyon <christophe.lyon@linaro.org>
Date: Wed, 18 Dec 2024 13:49:20 +0000
Subject: [PATCH] arm, testsuite: remove duplicate dg-add-options
 arm_v8_3a_complex_neon

These two testcases have twice the same dg-add-options
arm_v8_3a_complex_neon, the patch removes one of them.

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/complex/complex-operations-run.c: Remove duplicate
	dg-add-options arm_v8_3a_complex_neon.
	* gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.c:
	Likewise.
---
 gcc/testsuite/gcc.dg/vect/complex/complex-operations-run.c       | 1 -
 .../vect/complex/fast-math-bb-slp-complex-add-pattern-double.c   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/complex/complex-operations-run.c b/gcc/testsuite/gcc.dg/vect/complex/complex-operations-run.c
index 5a68ff029514..2f916ab4adf1 100644
--- a/gcc/testsuite/gcc.dg/vect/complex/complex-operations-run.c
+++ b/gcc/testsuite/gcc.dg/vect/complex/complex-operations-run.c
@@ -1,6 +1,5 @@
 /* { dg-require-effective-target vect_complex_add_double } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
-/* { dg-add-options arm_v8_3a_complex_neon } */
 
 #include <stdio.h>
 #include <complex.h>
diff --git a/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.c b/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.c
index e820356de0f0..2cd7eb25b3ef 100644
--- a/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.c
+++ b/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-double.c
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-add-options arm_v8_3a_complex_neon } */
 /* { dg-additional-options "-ffast-math -fno-tree-loop-vectorize" } */
 /* { dg-require-effective-target vect_double } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
-- 
GitLab