PR sanitizer/79904
[official-gcc.git] / gcc / testsuite / gcc.dg / ubsan / pr79904.c
blobaf8166930a923e3b39a22b71c305283c6ed157a6
1 /* PR sanitizer/79904 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=signed-integer-overflow -Wno-psabi" } */
5 typedef signed char V __attribute__((vector_size (8)));
7 void
8 foo (V *a)
9 {
10 *a = *a * 3;