Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr95151-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -minline-all-stringops" } */
3
4 struct foo
5 {
6 char array[257];
7 };
8
9 extern struct foo x;
10
11 int
12 func (struct foo i)
13 {
14 return __builtin_memcmp (&x, &i, sizeof (x)) ? 1 : 2;
15 }
16
17 /* { dg-final { scan-assembler-not "call\[\\t \]*_?memcmp" } } */