Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr65595.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
145 | 1 extern void *memcpy(void *, const void *, __SIZE_TYPE__); |
111 | 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 |