aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
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/function.c
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/function.c')
0 files changed, 0 insertions, 0 deletions