Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr64434.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O1 -fdump-rtl-expand-details" } */ | |
3 /* { dg-skip-if "PR64886" { hppa*-*-hpux* } } */ | |
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" } } */ | |
20 | |
21 |