[fpc-devel] Data flow analysis (dfa) and "case ... of"

Sven Barth pascaldragon at googlemail.com
Mon Jun 5 20:43:03 CEST 2017


On 05.06.2017 20:37, Denis Kozlov wrote:
> 
> I just wanted to highlight that these cases as legal and I presume not
> uncommon, particularly if values are deserialized and typecasted.

They are legal in the sense that they result in undefined behavior and
in that case the compiler is free to act as it sees fit.

Regards,
Sven



More information about the fpc-devel mailing list