summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-6.c
blob: 6963c1ce483c08bdde88fd982ab5c9a744f1d1a4 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-fre-details" } */

 int i; int foo(void) { i = 2; int j = i * 2; int k = i + 2; return j == k; }
/* { dg-final { scan-tree-dump-times "Replaced " 5 "fre" } } */
/* { dg-final { cleanup-tree-dump "fre" } } */