https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
struct A { char a; };
struct B : virtual A {};
struct C : B {};

void
foo ()
{ 
  C c;
  __builtin_clear_padding (&c);
}

Reply via email to