On Mon, Jul 30, 2018 at 10:16 PM Martin Sebor <mse...@gmail.com> wrote: > > The enhanced handling of MEM_REFs in -Warray-bounds assumes > the object from whose address an offset is being computed has > a complete type. Since the size of such objects isn't known, > whether the offset (or index) from its beginning is valid > cannot be reliably determined. The attached patch avoids > dealing with such objects.
Looks ok to deal with the testcase, thus please install. Richard. > Martin