1 /* PR middle-end/95189 - memcmp being wrongly stripped like strcmp
3 { dg-options "-O2 -Wall" } */
6 char a8
[] = "\0abcdefg";
7 char a16
[] = "\0abcdefghijklmno";
11 return __builtin_memcmp (a4
, "\0\0\0\0", 4);
16 return __builtin_memcmp (a8
, "\0\0\0\0\0\0\0\0", 8);
21 return __builtin_memcmp (a16
, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16);
26 if (cmp4 () < 1 || cmp8 () < 1 || cmp16 () < 1)