1/* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && lp64 } } } */
2/* { dg-options "--param asan-stack=0" } */
3#include <string.h>
4
5volatile int one = 1;
6
7int
8main ()
9{
10  volatile char a1[] = {one, 2, 3, 4};
11  volatile char a2[] = {1, 2*one, 3, 4};
12  volatile int res = memcmp ((void *)a1,(void *)a2, 5 + one);
13  return 0;
14}
15
16/* { dg-final { scan-assembler-not "0x41b58ab3|0x41B58AB3|1102416563" } } */
17