View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000455 | mercury | Bug | public | 2018-04-21 13:01 | 2018-04-21 21:16 | ||||
Reporter | wangp | ||||||||
Assigned To | juliensf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000455: intermodule optimisation with fixed sized integer modules | ||||||||
Description | The compiler crashes on the attached test case: % mmc --intermod-opt -m mod_a Making Mercury/cs/mod_a.c Uncaught Mercury exception: Software Error: check_hlds.simplify.simplify_goal_call: predicate `check_hlds.simplify.simplify_goal_call.simplify_make_binary_op_goal_expr'/8: Unexpected: cannot find unchecked_left_shift | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
Notes | |
juliensf (administrator) 2018-04-21 17:43 |
The problem is that the simplification pass can introduce calls to unchecked_left_shift, but that dead predicate elimination hasn't been updated correctly to tell it not to delete the clauses for that predicate; I'll post a fix for this later this evening. |
juliensf (administrator) 2018-04-21 21:16 |
Fixed in commit bb55d65. |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-04-21 13:01 | wangp | New Issue | |
2018-04-21 13:01 | wangp | File Added: mod_a.m | |
2018-04-21 13:02 | wangp | File Added: mod_b.m | |
2018-04-21 17:43 | juliensf | Note Added: 0000996 | |
2018-04-21 17:44 | juliensf | Assigned To | => juliensf |
2018-04-21 17:44 | juliensf | Status | new => assigned |
2018-04-21 21:16 | juliensf | Status | assigned => resolved |
2018-04-21 21:16 | juliensf | Resolution | open => fixed |
2018-04-21 21:16 | juliensf | Note Added: 0000997 |