aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr98407.c
blob: 29eb0803944afd2e4422c55d9400379d092eb2c5 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR tree-optimization/98407 */

struct S { int a; int b[]; };
const struct S c = { 0, { 0 } }, d = { 0, { 0 } };

int
foo (void)
{
  return __builtin_memcmp (&c, &d, sizeof d);
}