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-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fwrapv -fdump-tree-fre-details" } */
3
4 /* From PR14844. */
5
6 int
7 foo (int a, int b)
8 {
9 long long aa = a;
10 long long bb = b;
11 return aa + bb;
12 }
13
14 /* { dg-final { scan-tree-dump "Replaced \\\(int\\\) aa_.*with a_" "fre" { xfail *-*-* } } } */
15 /* { dg-final { cleanup-tree-dump "fre" } } */