Use the recursive form of compute_objsize [PR 103143].
authorMartin Sebor <msebor@redhat.com>
Sat, 4 Dec 2021 23:22:07 +0000 (16:22 -0700)
committerMartin Sebor <msebor@redhat.com>
Thu, 9 Dec 2021 16:51:47 +0000 (09:51 -0700)
commit425a39fd4effd9604af9f5f0780d209036d6e886
tree1a2eb6d8a49afd8a636f5b4b3398ecc1b042e2cf
parent6a071b2d40a1078b4029c2b77ef29ffca4e7050c
Use the recursive form of compute_objsize [PR 103143].

gcc/ChangeLog:

PR middle-end/103143
* pointer-query.cc (gimple_call_return_array): Call compute_objsize_r.

gcc/testsuite/ChangeLog:
PR middle-end/103143
* gcc.dg/Wstringop-overflow-83.c: New test.
gcc/pointer-query.cc
gcc/testsuite/gcc.dg/Wstringop-overflow-83.c [new file with mode: 0644]