Bad code generation
Original Reporter info from Mantis: mftq75
-
Reporter name: C Western
Original Reporter info from Mantis: mftq75
- Reporter name: C Western
Description:
The attached gives inconsitent results with the current SVN:
linux i386 only:
$ fpc -Pi386 -Cr -MObjfpc project1.lpr
Free Pascal Compiler version 3.3.1 [2021/04/04] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling project1.lpr
Linking project1
50 lines compiled, 0.1 sec, 155632 bytes code, 41796 bytes data
$ ./project1
5.4000000000000000E+001
$ fpc -Pi386 -O4 -Cr -MObjfpc project1.lpr
Free Pascal Compiler version 3.3.1 [2021/04/04] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling project1.lpr
Linking project1
50 lines compiled, 0.1 sec, 155568 bytes code, 41796 bytes data
$ ./project1
0.0000000000000000E+000
Mantis conversion info:
- Mantis ID: 38703
- OS: linux
- Platform: i386
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 49128 (#503fc85d)
- Monitored by: » @MageSlayer (Denis Golovan)