Use gather loads for strided accesses
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr82628.c
blobd71352204853ae25fe32636425540cf91d1a7715
1 /* { dg-do run { target ia32 } } */
2 /* { dg-options "-Os" } */
4 void
5 __attribute__ ((noipa))
6 foo (const char *x)
8 asm volatile ("" : "+g" (x) : : "memory");
9 if (x)
10 __builtin_abort ();
13 int a, b = 1;
15 int
16 main ()
18 while (1)
20 unsigned long long d = 18446744073709551615UL;
21 while (1)
23 int e = b;
24 while (d < 2)
25 foo ("0");
26 if (a)
27 d++;
28 if (b)
29 break;
31 break;
33 return 0;