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

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #20)
> I don't think that's a problem; the clobber only affects the as-base size of
> the class, which doesn't include any virtual bases unless they are primary,
> and virtual bases with data can't be primary.

So, perhaps then the clobbers should be conditional on in_chrg if there are
primary virtual bases?  What is the C++ FE test for existence of primary
virtual bases?  Or just do that for sanitization only?

Reply via email to