diff options
author | Martin Sebor <msebor@redhat.com> | 2020-09-23 15:19:13 -0600 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2020-09-23 15:19:13 -0600 |
commit | 67aeddb785ddcc8688ee5736ecab3c81de34a214 (patch) | |
tree | 39438e9b376232c2094abbfcac4b9452c7c88e4a /gcc/tree-ssa-loop-ch.c | |
parent | 6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d (diff) | |
download | gcc-67aeddb785ddcc8688ee5736ecab3c81de34a214.zip gcc-67aeddb785ddcc8688ee5736ecab3c81de34a214.tar.gz gcc-67aeddb785ddcc8688ee5736ecab3c81de34a214.tar.bz2 |
Build a zero element array type that reliably renders as T[0] in diagnostcs.
gcc/ChangeLog:
* gimple-array-bounds.cc (build_zero_elt_array_type): New function.
(array_bounds_checker::check_mem_ref): Call it.
Diffstat (limited to 'gcc/tree-ssa-loop-ch.c')
0 files changed, 0 insertions, 0 deletions