From: David Malcolm Date: Wed, 22 Jan 2020 20:00:59 +0000 (-0500) Subject: analyzer: fix usage of "_setjmp" in test for PR 93378 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=597e403d6dbb44315f33fb2b5bb0ca4946a4a1e1;p=gcc.git 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. --- 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);