]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Detour via (void *) to defeat gcc's strict-aliasing warnings when using
authorPeter Wemm <peter@FreeBSD.org>
Wed, 30 Jul 2003 00:04:58 +0000 (00:04 +0000)
committerPeter Wemm <peter@FreeBSD.org>
Wed, 30 Jul 2003 00:04:58 +0000 (00:04 +0000)
commitf3d3771bebad4d6da435c5b6512c42240ba96a14
tree752ae7a72471f106d875e5f6c0fe65ea98451d64
parent0c32d97ab564a65a137dc0d1008c70bfac5165d0
Detour via (void *) to defeat gcc's strict-aliasing warnings when using
-O2 or -Os (such as 'make release').

This commit brought to you by the warning:
  dereferencing type-punned pointer will break strict-aliasing rules
sys/i386/include/pcpu.h