]>
Commit | Line | Data |
---|---|---|
d2626c0b YR |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O1 -fdump-rtl-expand-details" } */ | |
4f4b0ab8 | 3 | /* { dg-skip-if "PR64886" { hppa*-*-hpux* } } */ |
d2626c0b YR |
4 | |
5 | #define N 256 | |
6 | int a1[N], a2[N], a3[N], a4[N]; | |
7 | ||
8 | void foo () | |
9 | { | |
10 | int i; | |
11 | for (i=0; i<N; i++) { | |
12 | int c; | |
13 | c = a3[i] + (a1[i] * a2[i]); | |
14 | a4[i] = c + 1; | |
15 | a1[i] = a2[i] - 1; | |
16 | } | |
17 | } | |
18 | ||
19 | /* { dg-final { scan-rtl-dump-times "Swap operands" 1 "expand" } } */ | |
d2626c0b YR |
20 | |
21 |