Skip to content
Snippets Groups Projects
Commit 41dbce4d authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-05-21 10:32:03 by simonm]

- compile PrimPacked with -funfolding-interface-threshold10 to prevent
  an unfolding for strLen escaping.  strLen calls strlen, which gets
  inlined by gcc causing it to run out of registers all over the
  place.

- remove a few -monly-n-regs for good measure.
parent b39f861b
No related merge requests found
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.39 1998/04/30 19:47:45 sof Exp $
# $Id: Makefile,v 1.40 1998/05/21 10:32:03 simonm Exp $
TOP = ..
include $(TOP)/mk/boilerplate.mk
......@@ -132,8 +132,6 @@ SRC_HC_OPTS += -recomp $(GhcHcOpts)
# The standard suffix rule for compiling a Haskell file
# adds these flags to the command line
absCSyn/CStrings_HC_OPTS = -monly-3-regs
# Was 6m with 2.10
absCSyn/PprAbsC_HC_OPTS = -H10m
......@@ -187,13 +185,12 @@ typecheck/TcHsSyn_HC_OPTS = -H15m
typecheck/TcExpr_HC_OPTS = -H15m
typecheck/TcEnv_HC_OPTS = -H10m
utils/Argv_HC_OPTS = -fvia-C -monly-3-regs
utils/Argv_HC_OPTS = -fvia-C
utils/SST_HC_OPTS = -fvia-C
utils/PrimPacked_HC_OPTS = -fvia-C -monly-3-regs
utils/FastString_HC_OPTS = -fvia-C -monly-3-regs
utils/PrimPacked_HC_OPTS = -fvia-C -monly-3-regs -funfolding-interface-threshold10
utils/FastString_HC_OPTS = -fvia-C
utils/StringBuffer_HC_OPTS = -fvia-C -fno-prune-tydecls
utils/Digraph_HC_OPTS = -fglasgow-exts -fvia-C
utils/Outputable_HC_OPTS = -monly-3-regs
utils/DirUtils_HC_OPTS = -fvia-C
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment