[openssh-commits] [openssh] 01/02: Improve detection of -fzero-call-used-regs=used.
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Mar 25 10:38:42 AEDT 2024
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch V_9_7
in repository openssh.
commit 5f152574c54a38326745cbc8e2e034c4c05cd66e
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Mon Mar 25 09:28:02 2024 +1100
Improve detection of -fzero-call-used-regs=used.
Should better detect problems with gcc 13 on m68k. bz#3673 from Colin
Watson via bz#3673 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934
Signed-off-by: Darren Tucker <dtucker at dtucker.net>
---
m4/openssh.m4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/m4/openssh.m4 b/m4/openssh.m4
index 033df501..176a8d1c 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) {
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list