https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116432
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|WAITING |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looking into the original source: https://github.com/tukaani-project/xz/blob/bf901dee5d4c46609645e50311c0cb2dfdcf9738/src/liblzma/common/filter_decoder.c#L44 decoders can be a zero sized array if none of the HAVE_* defines are defined. Which means the warning is correct.