LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr53773.c
blob0bcc021767e636aff950eced04e778cb990976d0
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 /* We can avoid a scalar tail when using fully-masked loops with a fixed
18 vector length. */
19 /* { dg-final { scan-tree-dump-times "\\* 10" 2 "optimized" { target { { ! vect_fully_masked } || vect_variable_length } } } } */
20 /* { dg-final { scan-tree-dump-times "\\* 10" 0 "optimized" { target { vect_fully_masked && { ! vect_variable_length } } } } } */