I've asked the question on the gcc devel list. The first reply was that
MemSet violates strict aliasing rules:
http://gcc.gnu.org/ml/gcc/2003-10/msg00524.html
I think we must either add -fno-strict-aliasing, or switch to the c
compiler memset functions for gcc.
--
Manfred