PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / assoc-2.c
blobcc0e9d429b4ef028b9a7bf3c3ff0b3599e1d5bfc
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-gimple-raw -fdump-tree-optimized-raw" } */
4 int f0(int a, int b){
5 return a * 33 * b * 55;
8 int f1(int a){
9 a *= 33;
10 return a * 55;
13 int f2(int a, int b){
14 a *= 33;
15 return a * b * 55;
18 /* { dg-final { scan-tree-dump-times "mult_expr" 7 "gimple" } } */
19 /* { dg-final { scan-tree-dump-times "mult_expr" 5 "optimized" } } */