PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr53773.c
blob1bee98b75d9b84de3b7a72c83b634b57e941b272
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fdump-tree-optimized" } */
4 int
5 foo (int integral, int decimal, int power_ten)
7 while (power_ten > 0)
9 integral *= 10;
10 decimal *= 10;
11 power_ten--;
14 return integral+decimal;
17 /* { dg-final { scan-tree-dump-times "\\* 10" 2 "optimized" } } */