[Patch testsuite obvious] Use setjmp, not sigsetjmp in gcc.dg/pr78582.c
authorJames Greenhalgh <james.greenhalgh@arm.com>
Thu, 1 Dec 2016 15:33:29 +0000 (15:33 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Thu, 1 Dec 2016 15:33:29 +0000 (15:33 +0000)
gcc/testsuite/

* gcc.dg/pr78582.c (main): Call setjmp, not sigsetjmp.

From-SVN: r243116

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr78582.c

index 447d9fb4b4d4ef1a8d84e199f8b692d362473fd4..2a04091bf4b5352d44ff74d044ebfc692337e2b0 100644 (file)
@@ -1,3 +1,7 @@
+2016-12-01  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * gcc.dg/pr78582.c (main): Call setjmp, not sigsetjmp.
+
 2016-12-01  Richard Biener  <rguenther@suse.de>
 
        * gcc.dg/torture/alias-2.c: New testcase.
index 3084e3b4bda95449036dad1eb3a8c32cbab323b8..5284e3ffbecb733c2c553d9b301b6a0d642667ad 100644 (file)
@@ -10,7 +10,7 @@ int
 main (int argc, char argv, char env)
 {
   int a;
-  sigsetjmp (0, 0);
+  setjmp (0);
   argc = a = argc;
   reader_loop ();