https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83373
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- I'm not sure I follow what you mean by "I cannot reorder fields or add a new one at the end to silence this warning." The patch doesn't rely on any particular ordering of data members to suppress warnings. Or are you saying your code calls strlen() on one member array to compute the number of non-nul bytes in it and the one after it? Can you clarify?