aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-08-29 23:43:18 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-08-29 23:43:18 +0200
commitd66ab7d12bb632c3de947f535d189275209a3915 (patch)
treee9969bd7b11fc9b19be570b837a4ec3185ec6f29 /gcc/builtins.c
parent849ec6caae2fa53d3f552a1d58fd151a93a39edc (diff)
downloadgcc-d66ab7d12bb632c3de947f535d189275209a3915.zip
gcc-d66ab7d12bb632c3de947f535d189275209a3915.tar.gz
gcc-d66ab7d12bb632c3de947f535d189275209a3915.tar.bz2
re PR sanitizer/87095 (UndefinedBehaviorSanitizer vptr false positive with virtual inheritance only with -fno-sanitize-recover)
PR c++/87095 * decl.c (begin_destructor_body): If current_class_type has virtual bases and the primary base is nearly empty virtual base, voidify clearing of vptr and make it conditional on in-charge argument. * g++.dg/ubsan/vptr-13.C: New test. From-SVN: r263967
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions