1.9.5 PIC code generation crash
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
compiled with the command:
fpc -Cg test
crashes with error message
test.pas(8,3) Fatal: Internal error 200403023
I know, it's not finished yet. But the help text printed out by fpc 1.9.5 makes it look like this should work to generate PIC code. I can't even get an assembly listing (or even a partial assembly listing) to see if it is even capable of generating PIC code on x86.
From other testing, it seems that the issue is in trying to access the static variable.
If this part of the compiler doesn't exist yet, then I would consider an appropriate note in the help text to be a bug fix.
Additional information:
Reporter: Layton Davis
EMail: layton at layton dot tk
Mantis conversion info:
- Mantis ID: 5397
- OS: Linux
- Version: 1.9.5
- Fixed in version: 1.9.6