☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
ubsan
/
pr79904-2.c
☽
☼
gcc/testsuite/gcc.dg/ubsan/pr79904-2.c
code
plain
raw
1
/* PR sanitizer/79904 */
2
/* { dg-do compile } */
3
/* { dg-options "-fsanitize=signed-integer-overflow -Wno-psabi" } */
4
5
typedef signed char V __attribute__((vector_size (8)));
6
7
void
8
foo (V *a)
9
{
10
*a = *a * (V) { 3, 4, 5, 6, 7, 8, 9, 10 };
11
}