OSDN Git Service

* tree-loop-linear.c (try_interchange_loops): Compare memory access
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dce-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dce3" } */
3
4 int t() __attribute__ ((const));
5 q()
6 {
7   int i = t();
8   if (!i)
9     i = t();
10 }
11 /* There should be no IF conditionals.  */
12 /* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */
13 /* { dg-final { cleanup-tree-dump "dce3" } } */