On 12/12/11 14:48, BELBACHIR Selim wrote: > Everything seems good when I use a union instead of "*((int *)(&af))".
This casting variant rings a bell here, especially when it breaks with optimization but works as union: Does it make a difference when you compile with "-fno-strict-aliasing" ? /haubi/