[GHC] #829: Make -fcontext-stack dynamic
GHC
trac at galois.com
Tue Jul 18 14:35:23 EDT 2006
#829: Make -fcontext-stack dynamic
-----------------------------------+----------------------------------------
Reporter: bjorn at bringert.net | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.5
Severity: normal | Keywords:
Os: Multiple | Difficulty: Unknown
Architecture: Multiple |
-----------------------------------+----------------------------------------
HaskellDB generates code with large types for database tables. This code
must be compiled with the -fcontext-stack flag, with an argument that
depends on the number of columns in the table. Since -fcontext-stack is a
static flag at the moment, the user who wants to use a generated module
has to look in the generated cod for a comment that says to use for
example -fcontext-stack64. If -fcontext-stack could be set in a pragma the
user would be spared this problem.
In general, since the -fcontext-stack flag needed depends on the code, it
would seem reasonable to be able to set it in the code.
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/829>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list