From: James Greenhalgh Date: Thu, 1 Dec 2016 15:33:29 +0000 (+0000) Subject: [Patch testsuite obvious] Use setjmp, not sigsetjmp in gcc.dg/pr78582.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d95fe8017d40a6f0df671fd3e6a5fdc5b1d5319d;p=gcc.git [Patch testsuite obvious] Use setjmp, not sigsetjmp in gcc.dg/pr78582.c gcc/testsuite/ * gcc.dg/pr78582.c (main): Call setjmp, not sigsetjmp. From-SVN: r243116 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 447d9fb4b4d..2a04091bf4b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-12-01 James Greenhalgh + + * gcc.dg/pr78582.c (main): Call setjmp, not sigsetjmp. + 2016-12-01 Richard Biener * gcc.dg/torture/alias-2.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/pr78582.c b/gcc/testsuite/gcc.dg/pr78582.c index 3084e3b4bda..5284e3ffbec 100644 --- a/gcc/testsuite/gcc.dg/pr78582.c +++ b/gcc/testsuite/gcc.dg/pr78582.c @@ -10,7 +10,7 @@ int main (int argc, char argv, char env) { int a; - sigsetjmp (0, 0); + setjmp (0); argc = a = argc; reader_loop ();