Cherry-pick upstream commit 727b493e to address FTBFS on mips64el
Description from upstream:
50736: silence use-after-free warning (gcc-12.2)
And as noted by @zeha, the patch fixes a memory issue in compmatch.c, gcc indeed complains about that, so this hopefully fixes our FTBFS issue on mips64el.
Thanks: Chris Hofstaedtler zeha@debian.org Closes: #1078749