Internal error 200609073 occurs when mod -1
Original Reporter info from Mantis: 0h2o
-
Reporter name: 0h2o
Original Reporter info from Mantis: 0h2o
- Reporter name: 0h2o
Description:
The following program seems meaningless, but it will trigger an internal error 200609073 when compiled by ppcx64 etc.
var x:integer;
begin
x := 1;
x := x mod -1; { buggy }
end.
Steps to reproduce:
- build fpc-3.3.1 with fpc-3.2.0
- path_to_fpc-3.3.1/compiler/ppcx64 ./poc.pas
Additional information:
The error seems to only exist in FPC-3.3.1, the code can be compiled by previous versions without any errors.
Mantis conversion info:
- Mantis ID: 37449
- OS: Ubuntu
- OS Build: 16.04.6 LTS
- Platform: amd64
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 45969 (#42f2e5f8)
- Monitored by: » 0h2o (0h2o)