analyzer: fix usage of "_setjmp" in test for PR 93378
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 22 Jan 2020 20:00:59 +0000 (15:00 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Wed, 22 Jan 2020 20:28:33 +0000 (15:28 -0500)
gcc/testsuite/ChangeLog:
PR analyzer/93378
* gcc.dg/analyzer/setjmp-pr93378.c: Use setjmp rather than
_setjmp.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/analyzer/setjmp-pr93378.c

index dd6d7890d053f0a13eb7d040db9741663429da40..c11a68d8562c0a5149b2e8cbfe969920a4472630 100644 (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
index 7934a40301d054592e24a1e0f52affd3ddb12a4b..73b94d4d36b2f1e0086a0627d95a933604eef026 100644 (file)
@@ -7,7 +7,7 @@ jmp_buf buf;
 int
 test (void)
 {
-  if (_setjmp (buf) != 0)
+  if (setjmp (buf) != 0)
     return 0;
 
   longjmp (buf, 1);