Internal error 2009112601
Original Reporter info from Mantis: winni
-
Reporter name: winni
Original Reporter info from Mantis: winni
- Reporter name: winni
Description:
The error belongs to an inlined function.
Without inline there is no error.
In fpc 3.04 the error occurs when the function is called.
In fpc 3.0 the error already occured when the function should be compiled.
Steps to reproduce:
// Point at part of P1..P2, part: 0.0..1.0,
//part=0.0: result = P1,
// part=1.0: result = P2
//BUG: inline results in compiler error: 'internal error 2009112601'
function GetPart (P1,P2: TPointF; part: single) : TPointF; inline;
begin
result := PointF ( (P2.x-P1.x) * part + P1.x, (P2.y-P1.y)*part+P1.y );
end;
Mantis conversion info:
- Mantis ID: 37879
- OS: Suse Tumbleweed
- OS Build: Kernel 5.8.x
- Platform: Linux 64
- Version: 3.0.4