diff options
author | Martin Sebor <msebor@redhat.com> | 2019-11-06 01:25:09 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2019-11-05 18:25:09 -0700 |
commit | 91eb5fa8e1fae57f6d69b2b973ffdf1988d18ca1 (patch) | |
tree | 35311a912227df67c92d9e17b2e86ffc2784693a /gcc/function.c | |
parent | eebabc49a3f5385d33cab235ec42e1ee0b5ca3c2 (diff) | |
download | gcc-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/function.c')
0 files changed, 0 insertions, 0 deletions