Debian Codegraph @

gcc/testsuite/gcc.dg/ubsan/pr84508-2.c

raw
1 /* { dg-do run { target { { i?86-*-* x86_64-*-* } && { ! ia32 } } } } */
2 /* { dg-options "-fsanitize=undefined" } */
3
4 #include <emmintrin.h>
5
6 int main()
7 {
8 unsigned char t[8+1];
9 __m128 x = _mm_load_ss((const float *)(t));
10 _mm_store_ss((float*)(t), x);
11 return 0;
12 }