From 781d9de6499eb979e9f1a66242bcf58250a1f21e Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 21 Mar 2024 10:20:21 +0000 Subject: Extend -fzero-call-used-regs check to catch m68k gcc bug Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934 Bug-Debian: https://bugs.debian.org/1067243 Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=3673 Last-Update: 2024-03-24 Patch-Name: zero-call-used-regs-m68k.patch --- m4/openssh.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/openssh.m4 b/m4/openssh.m4 index 033df501c..176a8d1c9 100644 --- a/m4/openssh.m4 +++ b/m4/openssh.m4 @@ -20,7 +20,10 @@ char *f2(char *s, ...) { va_end(args); return strdup(ret); } +int i; +double d; const char *f3(int s) { + i = (int)d; return s ? "good" : "gooder"; } int main(int argc, char **argv) {