Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr115406.c

raw
1 // { dg-do run }
2 // { dg-additional-options "-mavx512f" { target avx512f_runtime } }
3
4 typedef __attribute__((__vector_size__ (1))) signed char V;
5
6 signed char
7 foo (V v)
8 {
9 return ((V) v == v)[0];
10 }
11
12 int
13 main ()
14 {
15 signed char x = foo ((V) { });
16 if (x != -1)
17 __builtin_abort ();
18 }