diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/zero-call-used-regs-m68k.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/zero-call-used-regs-m68k.patch b/debian/patches/zero-call-used-regs-m68k.patch new file mode 100644 index 0000000..1e90eaa --- /dev/null +++ b/debian/patches/zero-call-used-regs-m68k.patch @@ -0,0 +1,30 @@ +From 781d9de6499eb979e9f1a66242bcf58250a1f21e Mon Sep 17 00:00:00 2001 +From: Colin Watson <cjwatson@debian.org> +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) { |