FPC is not removing unused code
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
FPC (2.0, from install) does not remove dead code from included example. If the Test1 procedure is removed from source the code is 512 bytes shorter. Please note, that the Test1 procedure is NOT called anywhere so it shouldn't influence the size of the code. Compiling it with -XX, -CX, stripping the debug info with strip.exe also doesn't help.
Matthias Hryniszak (matthias@hryniszak.de)
Additional information:
Reporter: Matthias Hryniszak
EMail: matthias at hryniszak dot de
Mantis conversion info:
- Mantis ID: 5978
- OS: Win32
- Version: 1.9.9