Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr116057.c

raw
1 /* { dg-do run } */
2 /* { dg-additional-options "-Wno-psabi" } */
3
4 #define vect8 __attribute__((vector_size(8)))
5
6 vect8 int __attribute__((noipa))
7 f(int a)
8 {
9 int b;
10 vect8 int t={1,1};
11 if(a) return t;
12 return (vect8 int){0, b};
13 }
14
15 int main ()
16 {
17 if (f(0)[0] != 0)
18 __builtin_abort ();
19 return 0;
20 }