https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Sam James from comment #9) > (In reply to Andrew Pinski from comment #8) > > Of course, you can try the new -fzero-init-padding-bits=all too. I think would produce the same behavior as r15-5747 as C++ sets CONSTRUCTOR_ZERO_PADDING_BITS but I could be wrong. But definitely something to test too.