unregisterised build broken
Unregisterised builds are currently broken: Compiling C calls in CMM files fails with e.g.
error: ‘debugBelch’ undeclared
The C call is being translated into
_cH = (W_)&debugBelch;
_cG = (W_)&stg_ap_0_ret_str;
((void (*)(void *))_cH)((void *)_cG);;
so pprForeignCall isn't getting called, and thus doesn't add the prototype for debugBelch.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | highest |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |