Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr65595.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
rev | line source |
---|---|
111 | 1 extern void *memcpy(void *, const void *, unsigned long); |
2 struct in6_addr { | |
3 struct { | |
4 int u6_addr32[4]; | |
5 }; | |
6 }; | |
7 struct foo { | |
8 struct in6_addr daddr; | |
9 struct in6_addr saddr; | |
10 } a; | |
11 extern void ip6_route_output(struct foo, int); | |
12 int b; | |
13 static void find_route_ipv6(struct in6_addr *p1) { | |
14 if (p1) | |
15 memcpy(0, p1, sizeof(struct in6_addr)); | |
16 ip6_route_output(a, b); | |
17 } | |
18 void cxgbi_ep_connect() { find_route_ipv6(0); } | |
19 |