[Bug sanitizer/70147] [6 Regression] testcase from hana testsuite gets miscompiled with -fsanitize=undefined

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 16 04:11:00 GMT 2016


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

--- Comment #20 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #16)
> I am really concerned about the rest of the base object, because
> the constructor is only called once, and only in the in_charge
> ctor.

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.


More information about the Gcc-bugs mailing list