annotate gcc/testsuite/gcc.c-torture/compile/pr51856.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 struct B { int b1; long long b2, b3; int b4; };
kono
parents:
diff changeset
4 struct C { char c1[40], c2, c3[96]; long long c4[5], c5; char c6[596]; };
kono
parents:
diff changeset
5 void fn1 (long long), fn2 (char *, int), fn4 (void);
kono
parents:
diff changeset
6 int r, fn3 (int, const char *, int, char *, int, int);
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 void
kono
parents:
diff changeset
9 foo (int t, int u, int v, int w, int x, int y, struct B *z)
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 char c[512], d[512], e;
kono
parents:
diff changeset
12 struct C g;
kono
parents:
diff changeset
13 long long f, h[255];
kono
parents:
diff changeset
14 struct B j;
kono
parents:
diff changeset
15 __builtin_bzero (&j, sizeof j);
kono
parents:
diff changeset
16 if (y > w)
kono
parents:
diff changeset
17 fn4 ();
kono
parents:
diff changeset
18 __builtin_bzero (&g, sizeof g);
kono
parents:
diff changeset
19 g.c5 = h[0];
kono
parents:
diff changeset
20 fn1 (z ? z->b3 : f);
kono
parents:
diff changeset
21 g.c2 = y;
kono
parents:
diff changeset
22 fn2 (d, 256);
kono
parents:
diff changeset
23 if (fn3 (r, "", e, c, 0, 16))
kono
parents:
diff changeset
24 fn4 ();
kono
parents:
diff changeset
25 }