Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / tree-ssa / ssa-dce-1.c
blob3a1cad1b8bcb7552262bc3220170aeb2b1c34e03
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dce3" } */
4 int t() __attribute__ ((const));
5 q()
7 int i = t();
8 if (!i)
9 i = t();
11 /* There should be no IF conditionals. */
12 /* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */
13 /* { dg-final { cleanup-tree-dump "dce3" } } */