Date: Tue, 29 Jul 2003 17:04:59 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include pcpu.h Message-ID: <200307300004.h6U04xHe080665@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2003/07/29 17:04:59 PDT
FreeBSD src repository
Modified files:
sys/i386/include pcpu.h
Log:
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
Revision Changes Path
1.37 +3 -3 src/sys/i386/include/pcpu.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307300004.h6U04xHe080665>
