[Bug sanitizer/83392] FAIL: c-c++-common/ubsan/ptr-overflow-sanitization-1.c scan-tree-dump-times
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 14 08:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83392
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 14 08:50:23 2018
New Revision: 258516
URL: https://gcc.gnu.org/viewcvs?rev=258516&root=gcc&view=rev
Log:
PR sanitizer/83392
* sanopt.c (maybe_optimize_ubsan_ptr_ifn): Handle also
INTEGER_CST offset, add it together with bitpos / 8 and
sign extend based on POINTER_SIZE.
* c-c++-common/ubsan/ptr-overflow-sanitization-1.c: Adjust expected
check count from 17 to 14.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/sanopt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/c-c++-common/ubsan/ptr-overflow-sanitization-1.c
More information about the Gcc-bugs
mailing list