aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2022-02-03 13:59:39 -0700
committerMartin Sebor <msebor@redhat.com>2022-02-03 13:59:39 -0700
commit30d15b512e375dee1b288d66c398513b8cb3e2aa (patch)
treec7b61bd35b5323b8b7000761cee3270d32f82dda /gcc/tree.h
parenta62b740d7b8bff2d8b5578d01d00e5fe464e5325 (diff)
downloadgcc-30d15b512e375dee1b288d66c398513b8cb3e2aa.zip
gcc-30d15b512e375dee1b288d66c398513b8cb3e2aa.tar.gz
gcc-30d15b512e375dee1b288d66c398513b8cb3e2aa.tar.bz2
Enable pointer_query caching in -Wrestrict.
gcc/ChangeLog: * gimple-ssa-warn-restrict.cc (class pass_wrestrict): Outline ctor. (pass_wrestrict::m_ptr_qry): New member. (wrestrict_walk): Rename... (pass_wrestrict::check_block): ...to this. (pass_wrestrict::execute): Set up and tear down pointer_query and ranger. (builtin_memref::builtin_memref): Change ctor argument. Simplify. (builtin_access::builtin_access): Same. (builtin_access::m_ptr_qry): New member. (check_call): Rename... (pass_wrestrict::check_call): ...to this. (check_bounds_or_overlap): Change argument. * gimple-ssa-warn-restrict.h (check_bounds_or_overlap): Same.
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions