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

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Wed Mar 16 13:03:00 GMT 2016


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

--- Comment #26 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
I just fail to understand why we cannot just clobber the whole
object once in the in-charge constructor,
then if sanitizing vptrs initialize every vptr once to zero.
and skip all the clobber and vptr initializing on the
not in-charge constructors.

That would make just more sense.


Bernd.


More information about the Gcc-bugs mailing list