]> git.ipfire.org Git - thirdparty/gcc.git/commit
Pass GIMPLE statement to compute_objsize.
authorMartin Sebor <msebor@redhat.com>
Sat, 4 Dec 2021 23:57:48 +0000 (16:57 -0700)
committerMartin Sebor <msebor@redhat.com>
Thu, 9 Dec 2021 16:51:47 +0000 (09:51 -0700)
commit9354a7d70caef1c94b8d0a66bb2fd4d86c037e7d
tree009f07629cb833adc2c57315f538162fafb13f0a
parentf9379fcb0d482cf4e2efd93b313523ab21fdc7da
Pass GIMPLE statement to compute_objsize.

gcc/ChangeLog:

* gimple-ssa-warn-restrict.c (builtin_access::builtin_access): Pass
GIMPLE statement to compute_objsize.
* pointer-query.cc (compute_objsize): Add a statement argument.
* pointer-query.h (compute_objsize): Define a new overload.
gcc/gimple-ssa-warn-restrict.c
gcc/pointer-query.cc
gcc/pointer-query.h