https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126975

--- Comment #7 from Gustavo A. R. Silva <gustavo at embeddedor dot com> ---
(In reply to Richard Biener from comment #5)
> The inner flex array may not extend beyond the outer object size (it might
> cover tail padding that's eventually there).  I'd expect &p->inner to be of
> size 8.

Yes. Tail padding is fine.

I've already submitted a patch for this, if you'd like to take a look:

https://inbox.sourceware.org/gcc-patches/aojDH2Db6XIkVqcf@kspp/T/#u

Reply via email to