Skip to content

Commit

Permalink
Improve detection of -fzero-call-used-regs=used.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
daztucker committed Mar 24, 2024
1 parent 86bdd38 commit 5f15257
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions m4/openssh.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5f15257

Please sign in to comment.