On Feb  4, 2026, Andrew Pinski <[email protected]> wrote:

> Note gcc.target/aarch64/sve/pr122103_1.c has the same issue (that is
> recorded as PR 123936 which is assigned to me but you can take it
> over; the patch for that testcase is pre-approved).

Thanks, here's what I've just installed:


The execution testcase needed SVE support but didn't state that as a
requirement.  Add it.

Tested on aarch64-elf, where it already failed to run (because ! glibc)
but I checked the new requirement was tested for in gcc.log.


for  gcc/testsuite/ChangeLog

        PR testsuite/123936
        PR tree-optimization/122103
        * gcc.target/aarch64/sve/pr122103_1.c: Add sve hw requirement.
---
 gcc/testsuite/gcc.target/aarch64/sve/pr122103_1.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/sve/pr122103_1.c 
b/gcc/testsuite/gcc.target/aarch64/sve/pr122103_1.c
index f06f8611393de..e18a2b6b9952d 100644
--- a/gcc/testsuite/gcc.target/aarch64/sve/pr122103_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve/pr122103_1.c
@@ -1,4 +1,4 @@
-/* { dg-do run }  */
+/* { dg-do run { target aarch64_sve_hw } }  */
 /* { dg-require-effective-target glibc }  */
 /* { dg-options "-O3 -fno-math-errno -ftrapping-math -march=armv8-a+sve" }  */
 


-- 
Alexandre Oliva, happy hacker            https://blog.lx.oliva.nom.br/
Free Software Activist     FSFLA co-founder     GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity.
Excluding neuro-others for not behaving ""normal"" is *not* inclusive!

Reply via email to