This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from a37e105 Fix the Windows native x86-64 build. new 629b6ab Introduce -fsanitize-address-use-after-scope new ea86011 Introduce tests for -fsanitize-address-use-after-scope
The 2 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/ChangeLog | 55 ++++ gcc/asan.c | 302 +++++++++++++++++---- gcc/asan.h | 66 ++++- gcc/c-family/ChangeLog | 5 + gcc/c-family/c-warn.c | 9 +- gcc/cfgexpand.c | 18 +- gcc/common.opt | 3 + gcc/doc/invoke.texi | 15 +- gcc/gimple.c | 3 + gcc/gimplify.c | 234 +++++++++++++++- gcc/internal-fn.c | 9 + gcc/internal-fn.def | 1 + gcc/opts.c | 27 +- gcc/params.def | 6 + gcc/params.h | 2 + gcc/sanitizer.def | 4 + gcc/sanopt.c | 3 + gcc/testsuite/ChangeLog | 30 ++ .../c-c++-common/asan/force-inline-opt0-1.c | 1 + gcc/testsuite/c-c++-common/asan/inc.c | 3 +- gcc/testsuite/g++.dg/asan/use-after-scope-1.C | 21 ++ gcc/testsuite/g++.dg/asan/use-after-scope-2.C | 40 +++ gcc/testsuite/g++.dg/asan/use-after-scope-3.C | 22 ++ .../g++.dg/asan/use-after-scope-types-1.C | 17 ++ .../g++.dg/asan/use-after-scope-types-2.C | 17 ++ .../g++.dg/asan/use-after-scope-types-3.C | 17 ++ .../g++.dg/asan/use-after-scope-types-4.C | 17 ++ .../g++.dg/asan/use-after-scope-types-5.C | 17 ++ gcc/testsuite/g++.dg/asan/use-after-scope-types.h | 30 ++ gcc/testsuite/gcc.dg/asan/use-after-scope-1.c | 18 ++ gcc/testsuite/gcc.dg/asan/use-after-scope-2.c | 47 ++++ gcc/testsuite/gcc.dg/asan/use-after-scope-3.c | 20 ++ gcc/testsuite/gcc.dg/asan/use-after-scope-4.c | 16 ++ gcc/testsuite/gcc.dg/asan/use-after-scope-5.c | 27 ++ gcc/testsuite/gcc.dg/asan/use-after-scope-6.c | 15 + gcc/testsuite/gcc.dg/asan/use-after-scope-7.c | 15 + gcc/testsuite/gcc.dg/asan/use-after-scope-8.c | 14 + gcc/testsuite/gcc.dg/asan/use-after-scope-9.c | 20 ++ gcc/testsuite/gcc.dg/asan/use-after-scope-goto-1.c | 47 ++++ gcc/testsuite/gcc.dg/asan/use-after-scope-goto-2.c | 25 ++ .../gcc.dg/asan/use-after-scope-switch-1.c | 25 ++ .../gcc.dg/asan/use-after-scope-switch-2.c | 33 +++ .../gcc.dg/asan/use-after-scope-switch-3.c | 36 +++ 43 files changed, 1252 insertions(+), 100 deletions(-) create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-1.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-2.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-3.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-types-1.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-types-2.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-types-3.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-types-4.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-types-5.C create mode 100644 gcc/testsuite/g++.dg/asan/use-after-scope-types.h create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-1.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-2.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-3.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-4.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-5.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-6.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-7.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-8.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-9.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-goto-1.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-goto-2.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-switch-1.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-switch-2.c create mode 100644 gcc/testsuite/gcc.dg/asan/use-after-scope-switch-3.c