Re: svn commit: r296386 - head/lib/libc/rpc

2016-03-04 Thread Pedro Giffuni
On 03/04/16 17:32, Jilles Tjoelker wrote: On Fri, Mar 04, 2016 at 03:30:41PM +, Pedro F. Giffuni wrote: Author: pfg Date: Fri Mar 4 15:30:41 2016 New Revision: 296386 URL: https://svnweb.freebsd.org/changeset/base/296386 Log: Work around aliasing issues detected in modern GCC.

Re: svn commit: r296386 - head/lib/libc/rpc

2016-03-04 Thread Jilles Tjoelker
On Fri, Mar 04, 2016 at 03:30:41PM +, Pedro F. Giffuni wrote: > Author: pfg > Date: Fri Mar 4 15:30:41 2016 > New Revision: 296386 > URL: https://svnweb.freebsd.org/changeset/base/296386 > Log: > Work around aliasing issues detected in modern GCC. > Avoid casting gymnastics that lead to

svn commit: r296386 - head/lib/libc/rpc

2016-03-04 Thread Pedro F. Giffuni
Author: pfg Date: Fri Mar 4 15:30:41 2016 New Revision: 296386 URL: https://svnweb.freebsd.org/changeset/base/296386 Log: 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 wi