aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphds.cc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2022-07-21 17:29:26 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2022-07-21 17:29:26 -0400
commitb852aa7f265424c8e2036899da5d8306ff06a16c (patch)
treec9bf07d3bf2e5a51b28c6202fd086a0a45fa1978 /gcc/graphds.cc
parent633e9920589ddfaf2d6da1c24ce99b18a2638db4 (diff)
downloadgcc-b852aa7f265424c8e2036899da5d8306ff06a16c.zip
gcc-b852aa7f265424c8e2036899da5d8306ff06a16c.tar.gz
gcc-b852aa7f265424c8e2036899da5d8306ff06a16c.tar.bz2
analyzer: fix -Wanalyzer-va-list-exhausted false +ve on va_arg in subroutine [PR106383]
gcc/analyzer/ChangeLog: PR analyzer/106383 * varargs.cc (region_model::impl_call_va_arg): When determining if we're doing interprocedural analysis, use the stack depth of the frame in which va_start was called, rather than the current stack depth. gcc/testsuite/ChangeLog: PR analyzer/106383 * gcc.dg/analyzer/stdarg-3.c: New test. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/graphds.cc')
0 files changed, 0 insertions, 0 deletions