svn commit: r259422 - head/sys/conf

Konstantin Belousov kib at FreeBSD.org
Sun Dec 15 18:13:43 UTC 2013


Author: kib
Date: Sun Dec 15 18:13:42 2013
New Revision: 259422
URL: http://svnweb.freebsd.org/changeset/base/259422

Log:
  Revert r259045.
  
  It seems that clang miscompiles code related to UDP with -fno-strict-overflow.

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Sun Dec 15 18:07:25 2013	(r259421)
+++ head/sys/conf/kern.mk	Sun Dec 15 18:13:42 2013	(r259422)
@@ -148,12 +148,6 @@ INLINE_LIMIT?=	8000
 CFLAGS+=	-ffreestanding
 
 #
-# Do not allow a compiler to optimize out overflow checks for signed
-# types.
-#
-CFLAGS+=	-fno-strict-overflow
-
-#
 # GCC SSP support
 #
 .if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \


More information about the svn-src-all mailing list