This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from ef5f0e9c510 RISC-V: MIPS prefetch extensions for MIPS RV64 P8700 and ca [...] new bddb7b25289 Extend "counted_by" attribute to pointer fields of structur [...] new c49bbcad60c Use the counted_by attribute of pointers in builtinin-objec [...] new 9e7f8568f75 Use the counted_by attribute of pointers in array bound checker. new 1b34664c625 Generate a call to a .ACCESS_WITH_SIZE for a FAM with count [...]
The 4 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/c-family/c-attribs.cc | 44 ++- gcc/c-family/c-gimplify.cc | 27 ++ gcc/c-family/c-ubsan.cc | 311 +++++++++++++++++++-- gcc/c/c-decl.cc | 91 +++--- gcc/c/c-parser.cc | 12 +- gcc/c/c-tree.h | 2 +- gcc/c/c-typeck.cc | 152 ++++++++-- gcc/doc/extend.texi | 41 ++- gcc/testsuite/gcc.dg/flex-array-counted-by-2.c | 2 +- gcc/testsuite/gcc.dg/flex-array-counted-by.c | 2 +- gcc/testsuite/gcc.dg/pointer-counted-by-1.c | 34 +++ gcc/testsuite/gcc.dg/pointer-counted-by-2.c | 10 + ...array-counted-by-8.c => pointer-counted-by-3.c} | 34 +-- gcc/testsuite/gcc.dg/pointer-counted-by-4-char.c | 6 + gcc/testsuite/gcc.dg/pointer-counted-by-4-float.c | 6 + gcc/testsuite/gcc.dg/pointer-counted-by-4-struct.c | 10 + gcc/testsuite/gcc.dg/pointer-counted-by-4-union.c | 10 + gcc/testsuite/gcc.dg/pointer-counted-by-4.c | 77 +++++ ...array-counted-by-5.c => pointer-counted-by-5.c} | 20 +- gcc/testsuite/gcc.dg/pointer-counted-by-6.c | 56 ++++ gcc/testsuite/gcc.dg/pointer-counted-by-7.c | 32 +++ gcc/testsuite/gcc.dg/pointer-counted-by-8.c | 29 ++ gcc/testsuite/gcc.dg/pointer-counted-by-9.c | 85 ++++++ gcc/testsuite/gcc.dg/pointer-counted-by.c | 111 ++++++++ gcc/testsuite/gcc.dg/pr120929.c | 49 ++++ ...by-bounds-2.c => pointer-counted-by-bounds-2.c} | 38 ++- ...by-bounds-3.c => pointer-counted-by-bounds-3.c} | 14 +- ...by-bounds-4.c => pointer-counted-by-bounds-4.c} | 14 +- .../gcc.dg/ubsan/pointer-counted-by-bounds-5.c | 40 +++ .../gcc.dg/ubsan/pointer-counted-by-bounds.c | 46 +++ 30 files changed, 1258 insertions(+), 147 deletions(-) create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-1.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-2.c copy gcc/testsuite/gcc.dg/{flex-array-counted-by-8.c => pointer-counted-by-3.c} (60%) create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-4-char.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-4-float.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-4-struct.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-4-union.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-4.c copy gcc/testsuite/gcc.dg/{flex-array-counted-by-5.c => pointer-counted-by-5.c} (62%) create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-6.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-7.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-8.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by-9.c create mode 100644 gcc/testsuite/gcc.dg/pointer-counted-by.c create mode 100644 gcc/testsuite/gcc.dg/pr120929.c copy gcc/testsuite/gcc.dg/ubsan/{flex-array-counted-by-bounds-2.c => pointer-count [...] copy gcc/testsuite/gcc.dg/ubsan/{flex-array-counted-by-bounds-3.c => pointer-count [...] copy gcc/testsuite/gcc.dg/ubsan/{flex-array-counted-by-bounds-4.c => pointer-count [...] create mode 100644 gcc/testsuite/gcc.dg/ubsan/pointer-counted-by-bounds-5.c create mode 100644 gcc/testsuite/gcc.dg/ubsan/pointer-counted-by-bounds.c