r258516 - in /trunk/gcc: ChangeLog sanopt.c tes...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Mar 14 08:50:00 GMT 2018
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-cvs
mailing list