From 597e403d6dbb44315f33fb2b5bb0ca4946a4a1e1 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 22 Jan 2020 15:00:59 -0500 Subject: [PATCH] analyzer: fix usage of "_setjmp" in test for PR 93378 gcc/testsuite/ChangeLog: PR analyzer/93378 * gcc.dg/analyzer/setjmp-pr93378.c: Use setjmp rather than _setjmp. --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/analyzer/setjmp-pr93378.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dd6d7890d05..c11a68d8562 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-01-22 David Malcolm + + PR analyzer/93378 + * gcc.dg/analyzer/setjmp-pr93378.c: Use setjmp rather than + _setjmp. + 2020-01-22 David Malcolm PR analyzer/93378 diff --git a/gcc/testsuite/gcc.dg/analyzer/setjmp-pr93378.c b/gcc/testsuite/gcc.dg/analyzer/setjmp-pr93378.c index 7934a40301d..73b94d4d36b 100644 --- a/gcc/testsuite/gcc.dg/analyzer/setjmp-pr93378.c +++ b/gcc/testsuite/gcc.dg/analyzer/setjmp-pr93378.c @@ -7,7 +7,7 @@ jmp_buf buf; int test (void) { - if (_setjmp (buf) != 0) + if (setjmp (buf) != 0) return 0; longjmp (buf, 1); -- 2.30.2