No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / ssa-dce-2.c
blob655f61c6f731d2d1d4f95fc1978b7ab70cac4b52
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-dce3" } */
4 /* We should notice constantness of this function. */
5 static int __attribute__((noinline)) t(int a)
7 return a+1;
9 void q(void)
11 int i = t(1);
12 if (!i)
13 i = t(1);
15 /* There should be no IF conditionals. */
16 /* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */
17 /* { dg-final { cleanup-tree-dump "dce3" } } */