re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-6.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre-details" } */
3
4 int i; int foo(void) { i = 2; int j = i * 2; int k = i + 2; return j == k; }
5 /* { dg-final { scan-tree-dump-times "Replaced " 5 "fre" } } */
6 /* { dg-final { cleanup-tree-dump "fre" } } */