Debian Codegraph @

gcc/testsuite/gcc.dg/uninit-pr78295.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wall -Wno-psabi" } */
3
4 typedef double vectype __attribute__ ((__vector_size__ (16)));
5
6 vectype
7 f (double x)
8 {
9 vectype t;
10 for (int i = 0; i < 2; i++)
11 t[i] = x; /* { dg-bogus "uninitialized" } */
12 return t;
13 }