Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20040216-1.c
blob41bd868c8a2d5dfe0906fee3430afe7704e61108
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dse1-details" } */
4 int
5 foo(int *z, int *y, int xx)
7 *z = 1;
8 if (xx)
9 xx = 20;
10 else
11 xx = 30;
12 *z = 2;
13 *z = 3;
14 return xx;
17 /* We should convert two COND_EXPRs into straightline code. */
18 /* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1"} } */