Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000495 | mercury | Bug | public | 2020-02-04 14:02 | 2020-10-06 21:33 |
| 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 | 0000495: -O<n> options not additive | ||||
| Description | The -O<n> options are not additive in that they will reset certain options to default values, e.g. in mmc --optimise-constructor-last-call -O5 -C list.m the --optimise-constructor-last-call option has no effect. While the behaviour could be defended, I hit the problem trying to enable -O5 on the standard library by adding: EXTRA_MCFLAGS = -O5 to Mmake.params. This silently disabled the --optimise-constructor-last-call option present in library/LIB_FLAGS. It turns out you need to write this instead: MCFLAGS += -O5 | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Notes | |||||
|
|
|||||
|
|
||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2020-02-04 14:02 | wangp | New Issue | |||
| 2020-09-17 03:52 | zs | Assigned To | => zs | ||
| 2020-09-17 03:52 | zs | Status | new => assigned | ||
| 2020-10-06 21:33 | zs | Status | assigned => resolved | ||
| 2020-10-06 21:33 | zs | Resolution | open => fixed | ||
| 2020-10-06 21:33 | zs | Note Added: 0001107 | |||