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.
This commit is contained in:
David Malcolm 2020-01-22 15:00:59 -05:00
parent fd9982bb00
commit 597e403d6d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2020-01-22 David Malcolm <dmalcolm@redhat.com>
PR analyzer/93378
* gcc.dg/analyzer/setjmp-pr93378.c: Use setjmp rather than
_setjmp.
2020-01-22 David Malcolm <dmalcolm@redhat.com>
PR analyzer/93378

View File

@ -7,7 +7,7 @@ jmp_buf buf;
int
test (void)
{
if (_setjmp (buf) != 0)
if (setjmp (buf) != 0)
return 0;
longjmp (buf, 1);