https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586
--- Comment #5 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) > Reduced testcase: > struct A { char a; }; > struct B : virtual A {}; > struct C : B {}; > > void > foo () > { > C c; > __builtin_clear_padding (&c); > } is the bug related to virtual table in the object? what's the root cause of the failure? thanks.