https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95140
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The warning should change, not the conservative assumption. There is a lot of code in the wild with such trailing arrays, not everything uses flexible array members, [0] or [1] for that.