Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src No more obvious strict aliasing violations here.



details:   https://anonhg.NetBSD.org/src/rev/408e909dbbde
branches:  trunk
changeset: 816059:408e909dbbde
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jun 15 13:57:26 2016 +0000

description:
No more obvious strict aliasing violations here.

diffstat:

 doc/HACKS                |  3 +--
 usr.sbin/rtadvd/Makefile |  6 +-----
 2 files changed, 2 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r 0e5f912ec976 -r 408e909dbbde doc/HACKS
--- a/doc/HACKS Wed Jun 15 13:47:26 2016 +0000
+++ b/doc/HACKS Wed Jun 15 13:57:26 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.172 2016/06/15 13:47:26 riastradh Exp $
+# $NetBSD: HACKS,v 1.173 2016/06/15 13:57:26 riastradh Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -276,7 +276,6 @@
 file   usr.sbin/rarpd/Makefile         : 1.10
 file   usr.sbin/rbootd/Makefile        : 1.10
 file   usr.sbin/rpc.pcnfsd/Makefile    : 1.17
-file   usr.sbin/rtadvd/Makefile        : 1.9
 file   usr.sbin/tcpdump/Makefile       : 1.42
 descr
        GCC 4.1 warns on pointer sign comparision/assignments and lots of
diff -r 0e5f912ec976 -r 408e909dbbde usr.sbin/rtadvd/Makefile
--- a/usr.sbin/rtadvd/Makefile  Wed Jun 15 13:47:26 2016 +0000
+++ b/usr.sbin/rtadvd/Makefile  Wed Jun 15 13:57:26 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2015/11/11 07:48:41 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.19 2016/06/15 13:57:26 riastradh Exp $
 
 WARNS?=        4
 
@@ -27,7 +27,3 @@
 
 
 .include <bsd.prog.mk>
-
-.if defined(HAVE_GCC) || defined(HAVE_LLVM)
-COPTS.dump.c=-fno-strict-aliasing
-.endif



Home | Main Index | Thread Index | Old Index