logo       

[GHC] #829: Make -fcontext-stack dynamic: msg#00060

lang.haskell.glasgow.bugs

Subject: [GHC] #829: Make -fcontext-stack dynamic

#829: Make -fcontext-stack dynamic
-----------------------------------+----------------------------------------
Reporter: bjorn@xxxxxxxxxxxx | 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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise