summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2024-03-24 23:28:02 +0100
committerDarren Tucker <dtucker@dtucker.net>2024-03-25 00:12:58 +0100
commitf9193f03db0029fc9c31fbdb5c66a2737446bd8f (patch)
tree396abf2feda1e64d16f9acb213a2b16a4eb1e6e3 /m4
parentversion number in README (diff)
downloadopenssh-f9193f03db0029fc9c31fbdb5c66a2737446bd8f.tar.xz
openssh-f9193f03db0029fc9c31fbdb5c66a2737446bd8f.zip
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@dtucker.net>
Diffstat (limited to 'm4')
-rw-r--r--m4/openssh.m43
1 files changed, 3 insertions, 0 deletions
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) {