aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/analyzer/pr104452.c
blob: 85eb82defbfddf0df6c5be9ed15ed082d16c0960 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-additional-options "-O" } */

void
test_1 (void)
{
  int __attribute__((__vector_size__ (16))) x;
  for (unsigned i = 0; i < 4;)
    if (x[i]) /* { dg-warning "use of uninitialized value" } */
      __builtin_abort ();
}