[fpc-devel] Dangerous optimization in CASE..OF
Ewald
ewald at yellowcouch.org
Fri Jul 14 20:52:12 CEST 2017
On 14/07/17 20:46, Ondrej Pokorny wrote:
> Btw, when compiling this program with default Lazarus Release build mode:
> [snip]
> I get a warning:
>
> Compile Project, Mode: Release, Target: project1.exe: Success, Warnings: 1
> project1.lpr(9,1) Warning: function result variable of a managed type does not seem to be initialized
> 17 lines compiled, 0.1 sec, 34672 bytes code, 1316 bytes data
IIRC that was exactly the example with which the original thread started (`Data flow analysis (dfa) and "case ... of"`).
--
Ewald
More information about the fpc-devel
mailing list