diff mbox series

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

Message ID patch-14230-tamar@arm.com
State New
Headers show
Series [comitted] Testsuite: Disable PR99149 test on big-endian | expand

Commit Message

Tamar Christina Feb. 24, 2021, 2:55 p.m. UTC
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


--

Comments

Richard Sandiford March 1, 2021, 11:52 a.m. UTC | #1
Tamar Christina <tamar.christina@arm.com> 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
diff mbox series

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 {