No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / 20040305-1.c
blobacde4b3116cc8dd295c00257b9e75d0a96cabeee
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-cddce -fdump-tree-forwprop1-details" } */
4 int abarney[2];
5 int afred[1];
7 void foo(int edx, int eax)
9 if (eax == 100)
11 if (edx == 1)
13 abarney[0] = 5;
14 abarney[1] = 6;
17 if (eax == 100)
19 if (-- edx == 0)
20 afred[0] = 2;
25 /* Verify that we did a forward propagation. */
26 /* { dg-final { scan-tree-dump-times "Replaced" 1 "forwprop1"} } */
27 /* { dg-final { cleanup-tree-dump "forwprop1" } } */
29 /* After cddce we should have two IF statements remaining as the other
30 two tests can be threaded. */
31 /* { dg-final { scan-tree-dump-times "if " 2 "cddce"} } */
32 /* { dg-final { cleanup-tree-dump "cddce" } } */