Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/lib XXX: gcc-4.8 bug. Passes wrong argum...



details:   https://anonhg.NetBSD.org/src/rev/7ee8672a062a
branches:  trunk
changeset: 795330:7ee8672a062a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 07 21:09:55 2014 +0000

description:
XXX: gcc-4.8 bug. Passes wrong arguments to biosdisk_read(). Turn optimization
off.

diffstat:

 sys/arch/i386/stand/lib/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r c5a2b2dbb8e9 -r 7ee8672a062a sys/arch/i386/stand/lib/Makefile
--- a/sys/arch/i386/stand/lib/Makefile  Mon Apr 07 20:38:52 2014 +0000
+++ b/sys/arch/i386/stand/lib/Makefile  Mon Apr 07 21:09:55 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.37 2014/02/14 20:34:27 joerg Exp $
+#      $NetBSD: Makefile,v 1.38 2014/04/07 21:09:55 christos Exp $
 
 S?=    ${.CURDIR}/../../../..
 
@@ -57,3 +57,6 @@
 .if ${HAVE_GCC:U} == 45
 COPTS.biosdisk.c+=     -fno-strict-aliasing
 .endif
+.if ${HAVE_GCC:U} == 48
+COPTS.biosdisk_ll.c+=  -O0
+.endif



Home | Main Index | Thread Index | Old Index