summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/asan/pr81224.c
blob: def5cb69aec30862ca8efc2ba171686b8a25c290 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR sanitizer/80659 */
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-additional-options "-msse2" } */

int a;
int
b ()
{
  register __attribute__ ((__vector_size__ (4 * sizeof (int)))) int c asm("xmm0");
  return c[a];
}