This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from b8c3f5196e1 libgomp: enable linux-futex on riscv64 new e393f03b1a7 testsuite/97494 - adjust gcc.dg/vect/slp-11b.c new ec153f96f89 libstdc++: Only test writing to wostream if supported [PR 98725] new c7e276b869b analyzer: use "malloc" attribute
The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/analyzer/analyzer.h | 1 + gcc/analyzer/diagnostic-manager.cc | 15 +- gcc/analyzer/region-model-impl-calls.cc | 9 + gcc/analyzer/region-model.cc | 9 + gcc/analyzer/region-model.h | 1 + gcc/analyzer/sm-malloc.cc | 767 +++++++++++++++++---- gcc/attribs.h | 2 + gcc/builtins.c | 10 + gcc/doc/extend.texi | 52 ++ gcc/doc/invoke.texi | 14 +- gcc/testsuite/gcc.dg/analyzer/attr-malloc-1.c | 75 ++ gcc/testsuite/gcc.dg/analyzer/attr-malloc-2.c | 24 + gcc/testsuite/gcc.dg/analyzer/attr-malloc-4.c | 21 + gcc/testsuite/gcc.dg/analyzer/attr-malloc-5.c | 12 + gcc/testsuite/gcc.dg/analyzer/attr-malloc-6.c | 228 ++++++ .../analyzer/attr-malloc-CVE-2019-19078-usb-leak.c | 224 ++++++ .../gcc.dg/analyzer/attr-malloc-misuses.c | 18 + gcc/testsuite/gcc.dg/vect/slp-11b.c | 12 +- .../testsuite/20_util/unique_ptr/io/lwg2948.cc | 2 + 19 files changed, 1361 insertions(+), 135 deletions(-) create mode 100644 gcc/testsuite/gcc.dg/analyzer/attr-malloc-1.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/attr-malloc-2.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/attr-malloc-4.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/attr-malloc-5.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/attr-malloc-6.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/attr-malloc-CVE-2019-19078-usb-leak.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/attr-malloc-misuses.c