Remove the hack that compiles dfa.c with -O1 on hppa. -O2 works fine.
This commit is contained in:
parent
7e8c91d132
commit
1d68e44fcf
13
doc/HACKS
13
doc/HACKS
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: HACKS,v 1.89 2006/10/30 16:46:42 skrll Exp $
|
||||
# $NetBSD: HACKS,v 1.90 2006/11/01 17:10:36 skrll Exp $
|
||||
#
|
||||
# This file is intended to document workarounds for currently unsolved
|
||||
# (mostly) compiler bugs.
|
||||
|
@ -667,17 +667,6 @@ port macppc
|
|||
This is reportedly fixed in gcc-3.4
|
||||
kcah
|
||||
|
||||
port hppa
|
||||
|
||||
hack hppa-gcc-3.3.3/grep/dfa.c
|
||||
cdate Sun Aug 8 08:34:32 PDT 2004
|
||||
who chs
|
||||
file gnu/usr.bin/grep/grep/Makefile : 1.4
|
||||
descr
|
||||
gcc 3.3.3 generates bad code for dfa.c with -O2,
|
||||
reduce optimization to -O1 to avoid the bug.
|
||||
kcah
|
||||
|
||||
port mips
|
||||
|
||||
hack mips-shared-linker-load-address
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2005/05/11 13:10:21 chs Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2006/11/01 17:10:36 skrll Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
|
@ -29,10 +29,5 @@ FILESNAME_${F}= grep.mo
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
# XXX
|
||||
.if ${MACHINE_ARCH} == "hppa"
|
||||
COPTS.dfa.c= -O1
|
||||
.endif
|
||||
|
||||
.include <bsd.info.mk>
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in New Issue