Thanks for the bug report. Please try gzip 1.12, released today. It has
bug fixes (inherited from Gnulib) in the area you reported, and should
build on macOS with GCC. Thanks.
- bug#54759: Compile error on macOS w/ gcc Young Mo Kang
- bug#54759: Compile error on macOS w/ gcc Paul Eggert
- bug#54759: Compile error on macOS w/ gcc Paul Eggert