]>
Commit | Line | Data |
---|---|---|
b771c609 AM |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O -fdump-tree-gimple-raw -fdump-tree-optimized-raw" } */ | |
3 | ||
4 | int f0(int a, int b){ | |
5 | return a * 33 * b * 55; | |
6 | } | |
7 | ||
288fe52e AM |
8 | int f1(int a){ |
9 | a *= 33; | |
10 | return a * 55; | |
11 | } | |
12 | ||
13 | int f2(int a, int b){ | |
14 | a *= 33; | |
15 | return a * b * 55; | |
16 | } | |
17 | ||
18 | /* { dg-final { scan-tree-dump-times "mult_expr" 7 "gimple" } } */ | |
19 | /* { dg-final { scan-tree-dump-times "mult_expr" 5 "optimized" } } */ |