aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2019-11-06 01:25:09 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2019-11-05 18:25:09 -0700
commit91eb5fa8e1fae57f6d69b2b973ffdf1988d18ca1 (patch)
tree35311a912227df67c92d9e17b2e86ffc2784693a /gcc/ChangeLog
parenteebabc49a3f5385d33cab235ec42e1ee0b5ca3c2 (diff)
downloadgcc-91eb5fa8e1fae57f6d69b2b973ffdf1988d18ca1.zip
gcc-91eb5fa8e1fae57f6d69b2b973ffdf1988d18ca1.tar.gz
gcc-91eb5fa8e1fae57f6d69b2b973ffdf1988d18ca1.tar.bz2
PR tree-optimization/92373 - ICE in -Warray-bounds on access to member array in an initialized char buffer
gcc/testsuite/ChangeLog: PR tree-optimization/92373 * gcc.dg/Warray-bounds-55.c: New test. * gcc.dg/Wzero-length-array-bounds-2.c: New test. gcc/ChangeLog: PR tree-optimization/92373 * tree.c (component_ref_size): Only consider initializers of objects of matching struct types. Return null for instances of interior zero-length arrays. From-SVN: r277871
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 63ef711..e666a0c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2019-11-05 Martin Sebor <msebor@redhat.com>
+
+ PR tree-optimization/92373
+ * tree.c (component_ref_size): Only consider initializers of objects
+ of matching struct types.
+ Return null for instances of interior zero-length arrays.
+
2019-11-05 Segher Boessenkool <segher@kernel.crashing.org>
* doc/md.texi (Insn Splitting): Fix combiner documentation.