False compiler hint "variable uninitialized" when using helper functions with optimization level -O3
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
-
Reporter name: Serge Anvarov
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
- Reporter name: Serge Anvarov
Description:
For an attached program, the compiler outputs "project1.lpr(12,11) Hint: Variable "S" of a managed type does not seem to be initialized"
For "SLen := Length(S);" no hint.
Command line: fpc -O3 -vh project1.lpr
Mantis conversion info:
- Mantis ID: 38213
- Version: 3.3.1