On 23/02/2025 14:14, Martin Frb via fpc-devel wrote:
Is it correct (i.e. by design) that the compiler emits some "may not be initialized" warnings, only on certain optimization levels?

Yes. Those warnings depends on data flow analysis, which is only enabled by defaullt at -O3 and higher. You can also enabled it separately with -Oodfa.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to