]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r296386:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Dec 2016 18:40:39 +0000 (18:40 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Dec 2016 18:40:39 +0000 (18:40 +0000)
commit5a1a602a39d49ab6512e07331f3309f1d81b74b2
treea3470f2b19feebc99215f4f7321fe04a39357a28
parent99c7a4cc58bc99fbcd5cd6d2447eb64058d089c3
MFC r296386:
r296386 (by pfg):

Work around aliasing issues detected in modern GCC.

Avoid casting gymnastics that lead to pointer aliasing by introducing an
inline function as done in NetBSD (but without #if0'd WIP code).

Obtained from: NetBSD (CVS Rev. 1.24, 1.25)

git-svn-id: svn://svn.freebsd.org/base/stable/10@309498 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/rpc/clnt_vc.c