1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dce3" } */
3
4 int t() __attribute__ ((const));
5 void
q()6 q()
7 {
8 int i = t();
9 if (!i)
10 i = t();
11 }
12 /* There should be no IF conditionals. */
13 /* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */
14