diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-03-13 14:53:04 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-03-13 14:53:04 -0400 |
commit | 129664c67b774511b53bfeee9e80a142ae7cd026 (patch) | |
tree | c023e181f0bed543f42b385a6db474644e90c034 /libgcc | |
parent | fa9d3aa67894c8cadf9840be424b566a8c53c8e4 (diff) | |
download | gcc-129664c67b774511b53bfeee9e80a142ae7cd026.zip gcc-129664c67b774511b53bfeee9e80a142ae7cd026.tar.gz gcc-129664c67b774511b53bfeee9e80a142ae7cd026.tar.bz2 |
testsuite: add test coverage for PR analyzer/108045
PR analyzer/108045 reports a leak false positive from -fanalyzer.
The false +ve as reported seems to have been fixed by
r13-6589-g14f5e56a8a766c, but with -fanalyzer-call-summaries there are
two additional false +ves which aren't fixed by that commit.
This patch adds test coverage for these cases.
gcc/testsuite/ChangeLog:
PR analyzer/108045
* gcc.dg/analyzer/leak-pr108045-with-call-summaries.c: New test.
* gcc.dg/analyzer/leak-pr108045-without-call-summaries.c: New test.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions