Compiler: Access Violation on inlined procedure using a local goto instruction
Original Reporter info from Mantis: Nitorami
-
Reporter name:
Original Reporter info from Mantis: Nitorami
- Reporter name:
Description:
The compiler crashes on inlined procedure using a local goto instruction. Both 3.0.0 and 3.0.2.
Steps to reproduce:
Compile the attached example using
fpc -Si -Sg crashme.pas
or from the IDE.
Enabling goto may not even be required, the compiler will then issue an error "GOTO and LABEL not supported" before it crashes.
Additional information:
- WARNING: The compiler tries to allocate large amounts of memory which may choke older PCs.
Mantis conversion info:
- Mantis ID: 31714
- OS: XP, Windows 7
- Platform: PC
- Version: 3.0.2