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/eb9db8ade24d
branches:  trunk
changeset: 328569:eb9db8ade24d
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 e49bb1e413d1 -r eb9db8ade24d 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