Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-14.c
blob14234cc55fdf3eaa951f248be01c4935c10f0be5
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-dse1-details" } */
4 struct A { char c[4]; } a, b;
6 void
7 f1 (void)
9 a.c[2] = '\0';
10 __builtin_memset (&a.c[1], 1, 2);
13 void
14 f2 (void)
16 __builtin_memcpy (&a.c[0], "a", 1);
17 __builtin_memcpy (&a, &b, 3);
20 /* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1" } } */