xfail scan-tree-dump-times checks on hppa*64*-*-* in gcc.dg/tree-ssa/slsr-13.c
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / slsr-13.c
blob93749d6e856b506f6a2f1140dd50d8114827e979
1 /* x2 and x3 will be strength-reduced based on the same statement
2 but with different variables as the stride. Note that they will
3 be strength-reduced by introducing an initializer 4*s which is
4 cheaper than 5*s; similar for 4*c and 5*c. */
6 /* { dg-do compile } */
7 /* { dg-options "-O3 -fdump-tree-optimized" } */
9 int
10 f (int s, int c)
12 int a2, a3, x1, x2, x3, x;
14 x1 = c + s;
15 a2 = 5 * s;
16 x2 = c + a2;
17 a3 = 5 * c;
18 x3 = s + a3;
19 x = x1 + x2 + x3;
20 return x;
23 /* { dg-final { scan-tree-dump-times " \\* 4" 2 "optimized" {xfail hppa*64*-*-* } } } */
24 /* { dg-final { scan-tree-dump-times " \\* 5" 0 "optimized" {xfail hppa*64*-*-* } } } */