Make -fcontext-stack dynamic
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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.5 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Multiple |
Architecture | Multiple |