1  /* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* x86_64-*-freebsd* } && lp64 } } } */
       2  /* { dg-options "--param asan-stack=0" } */
       3  #include <string.h>
       4  
       5  volatile int one = 1;
       6  
       7  int
       8  main ()
       9  {
      10    volatile char a1[] = {(char)one, 2, 3, 4};
      11    volatile char a2[] = {1, (char)(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" } } */