value-range: Fix handling of POLY_INT_CST anti-ranges [PR96146]
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / sve / acle / general / pr96146.c
blobb05fac4918dff830fcf3d2ab7659e8e36f016dd7
1 /* { dg-do run { target aarch64_sve_hw } } */
2 /* { dg-options "-O3" } */
4 #include <arm_sve.h>
6 void __attribute__ ((noipa))
7 f (volatile int *x)
9 int i;
10 for (int i = 0; i < svcntd (); ++i)
11 *x = i;
14 int
15 main (void)
17 volatile int x;
18 f (&x);
19 return 0;