View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038542 | FPC | Compiler | public | 2021-02-25 08:24 | 2021-02-28 09:02 |
Reporter | ekryukov | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 3.2.1 | ||||
Summary | 0038542: Wrong arm64 assembly generation with O2 | ||||
Description | fpca64 (arm64) for macOS generates wrong assembly with O2 optimization. O1 works fine. MIDIDevice_Lemur.s.o2:171:12: error: expected compatible register, symbol or integer in range [0, 4095] add w0,w3,x0 ^ MIDIDevice_Lemur.pas(781) Error: (9007) Error while assembling exitcode 1 fpc built from 3.2-fixes branch 24-02-2021 Attached two assembly files (o1 & o2 by extension) | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
|
|
|
Do you have the Pascal source file? |
|
Thanks. Arm64 is only my secondary development platform, but I'll see if I can find anything. |
|
What is the declaration of TLaunchMap? |
|
Please provide an example which is otherwise compilable. Alternatively try with trunk, I think I fixed an issue like this in trunk. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-02-25 08:24 | ekryukov | New Issue | |
2021-02-25 08:24 | ekryukov | File Added: MIDIDevice_Lemur.s.o1 | |
2021-02-25 08:24 | ekryukov | File Added: MIDIDevice_Lemur.s.o2 | |
2021-02-25 17:52 | J. Gareth Moreton | Note Added: 0129161 | |
2021-02-25 19:41 | J. Gareth Moreton | Note Added: 0129163 | |
2021-02-27 16:54 | Jonas Maebe | Note Added: 0129206 | |
2021-02-28 09:02 | Florian | Status | new => feedback |
2021-02-28 09:02 | Florian | FPCTarget | => - |
2021-02-28 09:02 | Florian | Note Added: 0129222 |