Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000049 | mercury | Bug | public | 2008-02-28 18:36 | 2008-03-17 17:21 |
Reporter | juliensf | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000049: loop invariant hoisting causes MLDS backend to abort | ||||
Description | The attached program causes the MLDS backend to abort when compiled in a hl or hlc grade with: mmc -C -O0 --common-struct --loop-invariants The problem seems to be related to the fact that calls to array.init/1 are being incorrectly hoisted (presumably because they arrays are not unique at the moment.) The LLDS backend compiles this code down to what is invalid C code (at least on eris). | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | colgen_dw.m (1,777) 2008-02-28 18:36 https://bugs.mercurylang.org/file_download.php?file_id=42&type=bug str_loopinv.m (2,913) 2008-03-05 17:17 https://bugs.mercurylang.org/file_download.php?file_id=45&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2008-02-28 18:36 | juliensf | New Issue | |||
2008-02-28 18:36 | juliensf | File Added: colgen_dw.m | |||
2008-03-05 17:17 | wangp | File Added: str_loopinv.m | |||
2008-03-05 17:21 | wangp | Note Added: 0000084 | |||
2008-03-05 17:29 | juliensf | Note Added: 0000085 | |||
2008-03-17 17:21 | wangp | Note Added: 0000090 | |||
2008-03-17 17:22 | wangp | Note Edited: 0000090 |