Debian Codegraph @

gcc/testsuite/gcc.dg/analyzer/torture/pr104159.c

raw
1 /* { dg-additional-options "-Wno-analyzer-use-of-uninitialized-value -Wno-psabi" } */
2 /* { dg-skip-if "incompatible types" { "avr-*-*" } } */
3
4 typedef int __attribute__((__vector_size__(4))) T;
5 typedef unsigned __attribute__((__vector_size__(4))) U;
6 typedef unsigned __attribute__((__vector_size__(16))) V;
7 typedef unsigned long __attribute__((__vector_size__(16))) W;
8
9 U u;
10 T t;
11
12 void
13 foo(W w) {
14 U u = __builtin_shufflevector((V)w, u, 0);
15 t = (T){} + u + u;
16 foo((W){});
17 for (;;)
18 ;
19 }