tree-optimization/97357: Fix testcase

Calling _setjmp causing a warning when targeting newlib.

2020-10-12  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/testsuite/
	PR tree-optimization/97357
	* gcc.dg/pr97357.c: Call setjmp instead of _setjmp.
This commit is contained in:
Christophe Lyon 2020-10-12 14:04:06 +00:00
parent 126ed72b9f
commit f10f11eb63

View File

@ -22,7 +22,7 @@ void bytelocks(glk *rethead, jmp_buf jb)
{
glk *cur, *cur_lk;
if (( _setjmp (jb)) == 0)
if (( setjmp (jb)) == 0)
for (cur = &l->ByteLock; cur != ((glk *)0) ; cur = (cur)->nxt)
for (cur_lk = &lk->ByteLock; cur_lk != ((glk *)0); cur_lk = cur_lk->nxt)
{