I am no DD, and even definitely more not the hiredis maintainer in Debian, but I consider this workaround for a bug in Ubuntu's compiler exposed by Ubuntu's dpkg flags.
I do admit however that I could be better at up-streaming patches relevant to Debian in general, I just don't think this specific patch is one of them.
(As a sidenote, it might be relevant as a gcc bug report to figure out why the compiler marks those writes as out of bounds, but only on PPC with -O3 and -flto (not even the same options cause the errors on amd64))
I am no DD, and even definitely more not the hiredis maintainer in Debian, but I consider this workaround for a bug in Ubuntu's compiler exposed by Ubuntu's dpkg flags.
I do admit however that I could be better at up-streaming patches relevant to Debian in general, I just don't think this specific patch is one of them.
(As a sidenote, it might be relevant as a gcc bug report to figure out why the compiler marks those writes as out of bounds, but only on PPC with -O3 and -flto (not even the same options cause the errors on amd64))