![]() I'm pretty sure this test used to fail and got fixed, but I think the test was fixed to match the incorrect code rather than the other way around. What it's testing is the abbreviation of a channel end as an identically-typed channel end, which (since they're both pointers) should look something like: Channel *c; Channel *d = c; Instead it was generating "d = &c", which broke cgtest87. The change made to GenerateC to fix this feels a bit awkward to me -- it's very simple, but it's yet another special case in genVariableAM. All of the genVariable code could really use reworking (again), perhaps to use some internal representation of the C expression... |
||
---|---|---|
.. | ||
AnalyseAsm.hs | ||
AnalyseAsmTest.hs | ||
BackendPasses.hs | ||
BackendPassesTest.hs | ||
GenerateC.hs | ||
GenerateCBased.hs | ||
GenerateCPPCSP.hs | ||
GenerateCTest.hs | ||
TLP.hs |