aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-10-06 16:14:14 +0200
committerMartin Liska <marxin@gcc.gnu.org>2017-10-06 14:14:14 +0000
commit513d5564225f8baa2ddeafde9edb9e10b62e30ce (patch)
tree520b8fb34932f46c3db23ec5f105b3abe2443dff /gcc/cp/lambda.c
parent549d24e9f70e33aac90ddaebf95a63409b058327 (diff)
downloadgcc-513d5564225f8baa2ddeafde9edb9e10b62e30ce.zip
gcc-513d5564225f8baa2ddeafde9edb9e10b62e30ce.tar.gz
gcc-513d5564225f8baa2ddeafde9edb9e10b62e30ce.tar.bz2
Add sanopt support for UBSAN_PTR.
2017-10-06 Martin Liska <mliska@suse.cz> * sanopt.c (struct sanopt_tree_triplet_hash): Remove inline keyword for member functions. (struct sanopt_tree_couple): New struct. (struct sanopt_tree_couple_hash): New function. (struct sanopt_ctx): Add new hash_map. (has_dominating_ubsan_ptr_check): New function. (record_ubsan_ptr_check_stmt): Likewise. (maybe_optimize_ubsan_ptr_ifn): Likewise. (sanopt_optimize_walker): Handle IFN_UBSAN_PTR. (pass_sanopt::execute): Handle also SANITIZE_POINTER_OVERFLOW. 2017-10-06 Martin Liska <mliska@suse.cz> * c-c++-common/ubsan/ptr-overflow-sanitization-1.c: New test. From-SVN: r253492
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions