https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121535
--- Comment #6 from Frank Scheiner <frank.scheiner at web dot de> --- (In reply to Mikael Pettersson from comment #5) > ia64 could implement TARGET_ZERO_CALL_USED_REGS itself instead of falling > back on the generic implementation. That would let it handle quirks like > this one. Thanks for chiming in, Mikael. Looking at [1] I'm unsure who could implement that for ia64, but I'll ask around. [1]: https://gcc.gnu.org/pipermail/gcc-patches/2022-March/591321.html Also as per (from [1]): ``` This fixes the ICEs using -fzero-call-used-regs=all for MIPS target. OpenSSH-8.9p1 has started to enable this by default, giving us a reason to fix -fzero-call-used-regs for more targets. ``` ...I wonder why this doesn't hit ia64 on EPIC Slack or T2 when compiling OpenSSH. The SlackBuild script ([2]) and my patch to define the CFLAGS for ia64 ([3]) do not do anything that would deactivate that during build AFAICS. [2]: https://mirrors.slackware.com/slackware/slackware64-current/source/n/openssh/openssh.SlackBuild [3]: https://github.com/epic-slack/current/blob/main/source/n/openssh/pkg.patch