https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961
--- Comment #5 from Iain Buclaw <ibuclaw at gcc dot gnu.org> --- (In reply to Andrei Horodniceanu from comment #4) > Sorry for the wait: > ----- > $ cat repro.d > module object; > struct Gcx > { > float thing = 0.0; > } Thanks, tweaked your test into: ``` module object; struct Gcx { float thing = 0.0; } static assert(__traits(isZeroInit, Gcx) == true); ``` This fails, so valgrind has found a bug proper here.