cfgexpand: Expand comment on when non-var clobbers can show up
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_86.c
blob85c0d3a927727359e625d97763f426a885c51072
1 /* { dg-add-options vect_early_break } */
2 /* { dg-additional-options "-std=gnu89" } */
3 /* { dg-require-effective-target vect_early_break_hw } */
4 /* { dg-require-effective-target vect_int } */
6 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target { ! "x86_64-*-* i?86-*-*" } } } } */
8 #include "tree-vect.h"
10 extern void abort ();
11 extern void exit (int);
13 __attribute__((noinline, noipa))
14 int f(x) {
15 int i;
16 for (i = 0; i < 8 && (x & 1) == 1; i++)
17 x >>= 1;
18 return i;
20 main() {
21 check_vect ();
23 if (f(4) != 0)
24 abort();
25 exit(0);