diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-03 16:54:24 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-03 16:54:24 +0000 |
commit | d120fa25444c859c1c1d8104a72820bf6d0851c7 (patch) | |
tree | 34ec9ec91f1ff814d8b450858e27cb18a4ccf1d4 /gcc/cp/ChangeLog | |
parent | 78de65bca3a3e8d99bafd5ad3d2d5caaeba55c14 (diff) | |
download | gcc-d120fa25444c859c1c1d8104a72820bf6d0851c7.tar.gz |
PR sanitizer/66190
* cp-gimplify.c (struct cp_genericize_data): Add no_sanitize_p.
(cp_genericize_r): Don't instrument static initializers.
(cp_genericize_tree): Initialize wtd.no_sanitize_p.
* g++.dg/ubsan/static-init-1.C: New test.
* g++.dg/ubsan/static-init-2.C: New test.
* g++.dg/ubsan/static-init-3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224096 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fe1f7bb03d1..a4ab191ad8c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2015-06-03 Marek Polacek <polacek@redhat.com> + + PR sanitizer/66190 + * cp-gimplify.c (struct cp_genericize_data): Add no_sanitize_p. + (cp_genericize_r): Don't instrument static initializers. + (cp_genericize_tree): Initialize wtd.no_sanitize_p. + 2015-06-02 Andres Tiraboschi <andres.tiraboschi@tallertechnologies.com> * decl.c (start_function): Call plugin before parsing. |