The test calls sysconf but it doesn't require it as it should.

Regstrapped on x86_64-linux-gnu.  Also tested with gcc-14 on aarch64-,
arm-, x86-, and x86_64-vxworks7r2.  Ok to install?


for  gcc/testsuite/ChangeLog

        * gcc.dg/vect/vect-early-break_109-pr113588.c: Require sysconf.
---
 .../gcc.dg/vect/vect-early-break_109-pr113588.c    |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/vect/vect-early-break_109-pr113588.c 
b/gcc/testsuite/gcc.dg/vect/vect-early-break_109-pr113588.c
index 2347fc26a14fc..9c183139ac226 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-early-break_109-pr113588.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-early-break_109-pr113588.c
@@ -2,6 +2,7 @@
 /* { dg-require-effective-target vect_early_break } */
 /* { dg-require-effective-target vect_int } */
 /* { dg-require-effective-target mmap } */
+/* { dg-require-effective-target sysconf } */
 
 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
 

-- 
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