annotate gcc/testsuite/gcc.c-torture/compile/20031125-1.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
1 /* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
2
111
kono
parents:
diff changeset
3 short *_offsetTable;
kono
parents:
diff changeset
4 /* This tests to make sure PRE splits the entry block ->block 0 edge
kono
parents:
diff changeset
5 when there are multiple block 0 predecessors.
kono
parents:
diff changeset
6 This is done so that we don't end up with an insertion on the
kono
parents:
diff changeset
7 entry block -> block 0 edge which would require a split at insertion
kono
parents:
diff changeset
8 time.
kono
parents:
diff changeset
9 PR 13163. */
kono
parents:
diff changeset
10 void proc4WithoutFDFE(char *dst, const char *src, int next_offs, int bw,
kono
parents:
diff changeset
11 int bh, int pitch)
kono
parents:
diff changeset
12 {
kono
parents:
diff changeset
13 do {
kono
parents:
diff changeset
14 int i = bw;
kono
parents:
diff changeset
15 int code = *src++;
kono
parents:
diff changeset
16 int x, l;
kono
parents:
diff changeset
17 int length = *src++ + 1;
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 for (l = 0; l < length; l++) {
kono
parents:
diff changeset
20 int x;
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 for (x = 0; x < 4; x++) ;
kono
parents:
diff changeset
23 if (i == 0)
kono
parents:
diff changeset
24 dst += pitch * 3;
kono
parents:
diff changeset
25 }
kono
parents:
diff changeset
26 char *dst2 = dst + _offsetTable[code] + next_offs;
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 for (x = 0; x < 4; x++) {
kono
parents:
diff changeset
29 int j = 0;
kono
parents:
diff changeset
30 (dst + pitch * x)[j] = (dst2 + pitch * x)[j];
kono
parents:
diff changeset
31 }
kono
parents:
diff changeset
32 dst += pitch * 3;
kono
parents:
diff changeset
33 } while (--bh);
kono
parents:
diff changeset
34 }
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36