Re: [PATCH][comitted] Testsuite: Disable PR99149 test on big-endian

2021-03-01 Thread Richard Sandiford via Gcc-patches
Tamar Christina  writes:
> Hi All,
>
> This patch disables the test for PR99149 on Big-endian
> where for standard AArch64 the patterns are disabled.
>
> Regtested on aarch64-none-linux-gnu and no issues.
>
> Committed under the obvious rule.
>
> Thanks,
> Tamar
>
> gcc/testsuite/ChangeLog:
>
>   PR tree-optimization/99149
>   * g++.dg/vect/pr99149.cc: Disabled on BE.
>
> --- inline copy of patch -- 
> diff --git a/gcc/testsuite/g++.dg/vect/pr99149.cc 
> b/gcc/testsuite/g++.dg/vect/pr99149.cc
> index 
> 9002e3e5268a6c431d0de076d6768c12d79f39f0..00ebe9d9cdf600ada8e66b4b854f0e18ad0b6a7d
>  100755
> --- a/gcc/testsuite/g++.dg/vect/pr99149.cc
> +++ b/gcc/testsuite/g++.dg/vect/pr99149.cc
> @@ -1,4 +1,4 @@
> -/* { dg-do compile { target { aarch64*-*-* } } } */
> +/* { dg-do compile { target { aarch64-*-* } } } */

This isn't enough for multilibs.  I think it should be:

/* { dg-do compile { target aarch64_little_endian } } */

instead.

Thanks,
Richard


[PATCH][comitted] Testsuite: Disable PR99149 test on big-endian

2021-02-24 Thread Tamar Christina via Gcc-patches
Hi All,

This patch disables the test for PR99149 on Big-endian
where for standard AArch64 the patterns are disabled.

Regtested on aarch64-none-linux-gnu and no issues.

Committed under the obvious rule.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

PR tree-optimization/99149
* g++.dg/vect/pr99149.cc: Disabled on BE.

--- inline copy of patch -- 
diff --git a/gcc/testsuite/g++.dg/vect/pr99149.cc 
b/gcc/testsuite/g++.dg/vect/pr99149.cc
index 
9002e3e5268a6c431d0de076d6768c12d79f39f0..00ebe9d9cdf600ada8e66b4b854f0e18ad0b6a7d
 100755
--- a/gcc/testsuite/g++.dg/vect/pr99149.cc
+++ b/gcc/testsuite/g++.dg/vect/pr99149.cc
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { aarch64*-*-* } } } */
+/* { dg-do compile { target { aarch64-*-* } } } */
 /* { dg-additional-options "-w -O3 -march=armv8.3-a -fdump-tree-slp-all" } */
 
 class a {


-- 
diff --git a/gcc/testsuite/g++.dg/vect/pr99149.cc b/gcc/testsuite/g++.dg/vect/pr99149.cc
index 9002e3e5268a6c431d0de076d6768c12d79f39f0..00ebe9d9cdf600ada8e66b4b854f0e18ad0b6a7d 100755
--- a/gcc/testsuite/g++.dg/vect/pr99149.cc
+++ b/gcc/testsuite/g++.dg/vect/pr99149.cc
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { aarch64*-*-* } } } */
+/* { dg-do compile { target { aarch64-*-* } } } */
 /* { dg-additional-options "-w -O3 -march=armv8.3-a -fdump-tree-slp-all" } */
 
 class a {