Compiler crashes on make
Original Reporter info from Mantis: MageSlayer @MageSlayer
-
Reporter name: Denis Golovan
Original Reporter info from Mantis: MageSlayer @MageSlayer
- Reporter name: Denis Golovan
Description:
Hi
Doing clean build of attached test project works fine.
When nothing changed and another attempt to compile is done - compiler crashes.
Tested under Linux x64 svn rev.39506
I reckon it's related to generics used.
Steps to reproduce:
Unpack.
$ ppcx64 test.pas
Free Pascal Compiler version 3.1.1 [2018/07/24] for x86_64
Copyright (c) 1993-2018 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling test.pas
Compiling hecontnrs.pas
hecontnrs.pas(4250,18) Note: Call to subroutine "operator TKI.=(const a:TKI;const b:TKI):Boolean; Static;" marked as inline is not inlined
hecontnrs.pas(4290,16) Note: Call to subroutine "operator TKI.<=(const a:TKI;const b:TKI):Boolean; Static;" marked as inline is not inlined
hecontnrs.pas(4334,40) Note: Call to subroutine "operator TKI.<=(const a:TKI;const b:TKI):Boolean; Static;" marked as inline is not inlined
hecontnrs.pas(4346,40) Note: Call to subroutine "operator TKI.>=(const a:TKI;const b:TKI):Boolean; Static;" marked as inline is not inlined
Linking test
7438 lines compiled, 0.1 sec
4 note(s) issued
$ ppcx64 test.pas
Free Pascal Compiler version 3.1.1 [2018/07/24] for x86_64
Copyright (c) 1993-2018 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling test.pas
hecontnrs.pas(4233,14) Error: Compilation raised exception internally
Fatal: Compilation aborted
An unhandled exception occurred at $000000000047641B:
EAccessViolation: Access violation
$000000000047641B
Mantis conversion info:
- Mantis ID: 34024
- Version: 3.1.1
- Monitored by: » @ccrause (Christo Crause)