Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / pr64434.c
blobd70550d416861bf14095b2d42d8f8c2cc5c8fe73
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-rtl-expand-details" } */
3 /* { dg-skip-if "PR64886" { hppa*-*-hpux* } } */
5 #define N 256
6 int a1[N], a2[N], a3[N], a4[N];
8 void foo ()
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;
19 /* { dg-final { scan-rtl-dump-times "Swap operands" 1 "expand" } } */