Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000539 | mercury | Bug | public | 2021-10-11 12:56 | 2021-10-14 13:17 |
Reporter | wangp | ||||
---|---|---|---|---|---|
Assigned To | zs | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000539: placing nondummy var which has no state (LCMC) | ||||
Description | The compiler aborts during code generation in low-level C grades when LCMC is enabled. (There are other similar bug reports involving debugging or parallel conjunction which may or may not be related.) % mmc -s asm_fast.gc --optimise-constructor-last-call -C soupy Uncaught Mercury exception: Software Error: predicate `ll_backend.var_locn.actually_place_var'/6: Unexpected: placing nondummy var 6 which has no state Stack dump follows: 0 pred exception.throw/1-0 (erroneous) (exception.m:313) 1 pred require.error/1-0 (erroneous) (require.m:172) 2 pred require.unexpected/2-0 (erroneous) (require.m:203) 3 pred ll_backend.var_locn.actually_place_var/6-0 (det) (var_locn.m:1807) 4 pred ll_backend.var_locn.var_locn_place_var/5-0 (det) (var_locn.m:1706) 5 pred ll_backend.var_locn.actually_place_vars/4-0 (det) (var_locn.m:1730) 6 pred ll_backend.var_locn.var_locn_place_vars/4-0 (det) (var_locn.m:1722) 7 pred ll_backend.code_loc_dep.setup_call/7-0 (det) (code_loc_dep.m:3325) | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | soupy.m (2,707) 2021-10-11 12:56 https://bugs.mercurylang.org/file_download.php?file_id=314&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2021-10-11 12:56 | wangp | New Issue | |||
2021-10-11 12:56 | wangp | File Added: soupy.m | |||
2021-10-12 02:14 | zs | Note Added: 0001152 | |||
2021-10-12 11:46 | wangp | Note Added: 0001153 | |||
2021-10-12 18:53 | zs | Note Added: 0001154 | |||
2021-10-14 13:17 | zs | Assigned To | => zs | ||
2021-10-14 13:17 | zs | Status | new => resolved | ||
2021-10-14 13:17 | zs | Resolution | open => fixed | ||
2021-10-14 13:17 | zs | Note Added: 0001155 |