https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93764 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- I bet the generated code is wrong. But it's caused by LZO violation of the strict aliasing. Please open a bug for lzo.