https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108894
--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:f72c8918416f67aad907752f1892c19eda12eecb commit r13-6389-gf72c8918416f67aad907752f1892c19eda12eecb Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Mar 1 10:49:38 2023 +0100 ubsan: Add another testcase for [0] array in the middle of struct [PR108894] I think it is useful to cover also this, rather than just arrays at the flexible array member positions. 2023-03-01 Jakub Jelinek <ja...@redhat.com> PR sanitizer/108894 * c-c++-common/ubsan/bounds-16.c: New test.