aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/analyzer/pr93938.c
blob: 81d9983083fd14d768868340a81107637f150350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Taken from gcc.dg/pr70022.c, adding -O1 to the options
   (and -fanalyzer, implicitly).  */

/* { dg-do compile } */
/* { dg-options "-w -Wno-psabi -O1" } */

typedef int v4si __attribute__ ((vector_size (16)));

int
foo (v4si v)
{
  return v[~0UL];
}