[Bug 3394] New: Problems detecting -fzero-call-used-regs=all on some architectures

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Feb 25 03:00:39 AEDT 2022


            Bug ID: 3394
           Summary: Problems detecting -fzero-call-used-regs=all on some
           Product: Portable OpenSSH
           Version: -current
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: cjwatson at debian.org

The autoconf test for whether -fzero-call-used-regs=all is supported
isn't sufficient on some architectures.  I saw two types of errors on
various Debian architectures.  An example of one is ppc64el:

../../ssherr.c: In function ‘ssh_err’:
../../ssherr.c:151:1: sorry, unimplemented: ‘-fzero-call-used-regs’ not
supported on this target
  151 | }
      | ^

And an example of the other is mips64el, which is noisier but it
amounts to much the same thing:

../../ssherr.c: In function ‘ssh_err’:
../../ssherr.c:151:1: internal compiler error: in int_mode_for_mode, at
  151 | }
      | ^
0x120fecf7f internal_error(char const*, ...)
0x120139257 fancy_abort(char const*, int, char const*)
0x1207e62d3 int_mode_for_mode(machine_mode)
0x120417727 emit_move_insn_1(rtx_def*, rtx_def*)
0x120413277 emit_move_insn(rtx_def*, rtx_def*)
0x120802cb3 default_zero_call_used_regs(HARD_REG_SET)
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
during RTL pass: zero_call_used_regs

I'm testing a patch for this at the moment.

You are receiving this mail because:
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list