Internal error 200103281 on floating point division
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
An internal compiler error gets generated when the source contains a divide operator.
Steps to reproduce:
Example 1:
program project1;
const float = 1000 / 3;
begin end.
Example2:
program project2;
var a: byte;
begin
a := 3/4;
end.
Compiled with:
~/fpc/3.1.1/compiler/ppcrossavr -Tembedded -Wpatmega328p -Cpavr5 -Pavr -g -a -XPavr- -Sm -dF_CPU:=16000000 $1
Additional information:
I assume that floating point math is not implemented yet for this target, but I did not expect an internal error.
Mantis conversion info:
- Mantis ID: 32006
- Build: 36496
- Platform: Embedded avr
- Version: 3.1.1
- Fixed in version: 3.3.1
- Fixed in revision: 43794 (#051b9840)
- Monitored by: » @afriess (Andi Friess), » @d.ioannidis (Dimitrios Chr. Ioannidis), » @ccrause (Christo Crause)