summaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-03 16:54:24 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-03 16:54:24 +0000
commitd120fa25444c859c1c1d8104a72820bf6d0851c7 (patch)
tree34ec9ec91f1ff814d8b450858e27cb18a4ccf1d4 /gcc/cp/ChangeLog
parent78de65bca3a3e8d99bafd5ad3d2d5caaeba55c14 (diff)
downloadgcc-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/ChangeLog7
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.