On 19/12/2024 12:17, Christophe Lyon wrote:
> 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.
OK.
(this counts as obvious, BTW).
R.
> ---
> 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 5a68ff02951..2f916ab4adf 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 e820356de0f..2cd7eb25b3e 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 } */